+2008-01-18 Guillem Jover <guillem@debian.org>
+
+ * utils/start-stop-daemon.c (do_help): Coalesce mandatory options
+ into a single paragraph, and state that at least one is required.
+
2008-01-18 Guillem Jover <guillem@debian.org>
* configure.ac (AC_CHECK_SIZEOF): Quote parameters.
* Additionally check if errno is EEXIST after rmdir(2), as SUSv3 specifies
that on non-empty directories it can either return that or ENOTEMPTY.
This fixes run time problems on Solaris.
+ * Fix start-stop-daemon --help output to state that --name is one of the
+ possible required options to use. Closes: #354999
[ Frank Lichtenheld ]
* Make the -L option of dpkg-parsechangelog actually work (it's
" -H|--help print help information\n"
" -V|--version print version\n"
"\n"
-"Options (at least one of --exec|--pidfile|--user is required):\n"
-" -x|--exec <executable> program to start/check if it is running\n"
+"Mandatory options (at least one is required):\n"
" -p|--pidfile <pid-file> pid file to check\n"
+" -x|--exec <executable> program to start/check if it is running\n"
+" -n|--name <process-name> stop processes with this name\n"
+" -u|--user <username|uid> stop processes owned by this user\n"
+"\n"
+"Options:\n"
+" -g|--group <group|gid> run process as this group\n"
" -c|--chuid <name|uid[:group|gid]>\n"
" change to this user/group before starting\n"
" process\n"
-" -u|--user <username>|<uid> stop processes owned by this user\n"
-" -g|--group <group|gid> run process as this group\n"
-" -n|--name <process-name> stop processes with this name\n"
" -s|--signal <signal> signal to send (default TERM)\n"
" -a|--startas <pathname> program to start (default is <executable>)\n"
" -r|--chroot <directory> chroot to <directory> before starting\n"