From: Marcela Mašláňová Date: Tue, 27 Nov 2012 07:37:08 +0000 (+0100) Subject: Fix some issues introduced in X-Git-Tag: cronie1.4.10~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c0c663de596eeb512b23c8bd703d43e649baa9ba;p=cronie Fix some issues introduced in c58b1d9 Documentation improvements based on Michael Lass suggestions. * give -m an own line in manpage * don't explain -P twice * correct description of -P to what it actually does Signed-off-by: Marcela Mašláňová --- diff --git a/man/cron.8 b/man/cron.8 index 3e3520a..db9060b 100644 --- a/man/cron.8 +++ b/man/cron.8 @@ -141,6 +141,7 @@ Prints a help message and exits. .TP .B "\-i" Disables inotify support. +.TP .B "\-m" This option allows you to specify a shell command to use for sending .I Cron @@ -163,7 +164,7 @@ Allows to accept any user set crontables. .TP .B "\-P" -Change PATH. +Don't set PATH. PATH is instead inherited from the environment. .TP .B "\-c" This option enables clustering support, as described below. @@ -179,9 +180,6 @@ installed or if mail is disabled. .TP .B "\-x" This option allows you to set debug flags. -.TP -.B "\-P" -Don't set PATH. PATH is instead inherited from the environment. .SH SIGNALS When the .I SIGHUP diff --git a/src/cron.c b/src/cron.c index 08e164d..c57b33f 100644 --- a/src/cron.c +++ b/src/cron.c @@ -179,7 +179,7 @@ static void usage(void) { [-m ] off or specify prefered client for sending mails \n \ [-n] run in foreground \n \ [-p] permit any crontab \n \ - [-P] change PATH \n \ + [-P] don't set PATH \n \ [-c] enable clustering support \n \ [-s] log into syslog instead of sending mails \n \ [-x [",