From c0c663de596eeb512b23c8bd703d43e649baa9ba Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Tue, 27 Nov 2012 08:37:08 +0100 Subject: [PATCH] Fix some issues introduced in c58b1d9 Documentation improvements based on Michael Lass suggestions. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * 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á --- man/cron.8 | 6 ++---- src/cron.c | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) 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 [", -- 2.50.1