summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAaron Conole <aconole@redhat.com>2017-12-11 10:07:39 -0500
committerBen Pfaff <blp@ovn.org>2017-12-11 10:59:25 -0800
commitc66caed404d688cd4c4f0ba2260ae5a4d0531ef6 (patch)
treee5c3b4779c9690b32813c6fa2dae488aa852d4ca /lib
parent8c087cecffb0355680ffcc2ac2debc41ac163ae6 (diff)
downloadopenvswitch-c66caed404d688cd4c4f0ba2260ae5a4d0531ef6.tar.gz
daemon-unix: include missing help information
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 <skramaja@redhat.com> Signed-off-by: Aaron Conole <aconole@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org> Reviewed-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/daemon-unix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/daemon-unix.c b/lib/daemon-unix.c
index 967a28432..adb549c98 100644
--- a/lib/daemon-unix.c
+++ b/lib/daemon-unix.c
@@ -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 "