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: Michael Laß <bevan(a)bi-co.net>
---
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 <mail command>] 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 [",
--
1.8.0.1