Skip to content

Commit

Permalink
daemon-unix: include missing help information
Browse files Browse the repository at this point in the history
These options have existed for a while, but were not expressed in the
help information.  Inform the user that these options exist, and give
some basic help.

Reported-by: Saravanan KR <[email protected]>
Signed-off-by: Aaron Conole <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
Reviewed-by: Markos Chandras <[email protected]>
  • Loading branch information
apconole authored and blp committed Dec 11, 2017
1 parent 8c087ce commit c66caed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/daemon-unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,8 @@ daemon_usage(void)
printf(
"\nDaemon options:\n"
" --detach run in background as daemon\n"
" --monitor creates a process to monitor this daemon\n"
" --user=username[:group] changes the effective daemon user:group\n"
" --no-chdir do not chdir to '/'\n"
" --pidfile[=FILE] create pidfile (default: %s/%s.pid)\n"
" --overwrite-pidfile with --pidfile, start even if already "
Expand Down

0 comments on commit c66caed

Please sign in to comment.