diff options
author | Justin Pryzby <jpryzby+d@quoininc.com> | 2008-01-30 06:35:30 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2008-01-30 06:37:03 +0200 |
commit | 1f6feb233d4e7088cb920f386292f8d31d694d3a (patch) | |
tree | d73411e2d1319055bbc2bfb05c849db4085adc31 /utils | |
parent | c2acc4de8e86a9f1ad56c546f16355b796be0c60 (diff) | |
download | dpkg-1f6feb233d4e7088cb920f386292f8d31d694d3a.tar.gz |
s-s-d: Documentation improvements
Cosmetic fixes to start-stop-daemon output and man page. Document
that --chuid will change the group even if it has not been specified.
Add EXIT STATUS and EXAMPLE sections to man page.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/start-stop-daemon.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/start-stop-daemon.c b/utils/start-stop-daemon.c index 1494e55e0..610816317 100644 --- a/utils/start-stop-daemon.c +++ b/utils/start-stop-daemon.c @@ -305,8 +305,8 @@ do_help(void) "Matching 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|--name <process-name> process name to check\n" +" -u|--user <username|uid> process owner to check\n" "\n" "Options:\n" " -g|--group <group|gid> run process as this group\n" @@ -655,7 +655,7 @@ parse_options(int argc, char * const *argv) badusage("--start needs --exec or --startas"); if (mpidfile && pidfile == NULL) - badusage("--make-pidfile is only relevant with --pidfile"); + badusage("--make-pidfile requires --pidfile"); if (background && !start) badusage("--background is only relevant with --start"); @@ -923,7 +923,7 @@ pid_is_cmd(pid_t pid, const char *name) start_argv_0_p = *pid_argv_p; else { /* Tests indicate that this never happens, since - * kvm_getargv itselfe cuts of tailing stuff. This is + * kvm_getargv itself cuts of tailing stuff. This is * not what the manpage says, however. */ strncpy(buf, *pid_argv_p, (end_argv_0_p - start_argv_0_p)); buf[(end_argv_0_p - start_argv_0_p) + 1] = '\0'; |