]> granicus.if.org Git - cronie/commitdiff
Fix some issues introduced in
authorMarcela Mašláňová <mmaslano@redhat.com>
Tue, 27 Nov 2012 07:37:08 +0000 (08:37 +0100)
committerMarcela Mašláňová <mmaslano@redhat.com>
Tue, 27 Nov 2012 07:37:29 +0000 (08:37 +0100)
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á <mmaslano@redhat.com>
man/cron.8
src/cron.c

index 3e3520ab843a37dd2c8bf8c0e7dd0c6adcb3250c..db9060b03057bb979896f824dda37dfaba30d8ec 100644 (file)
@@ -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
index 08e164dc611baca24a07e709d13a7f22cb4f89aa..c57b33f4dc944a501d306788a002fb3b571ea15d 100644 (file)
@@ -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 [",