From c58b1d9cf6ac819186d3c7e8618a716fe25b40ec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Tue, 13 Nov 2012 08:07:56 +0100 Subject: [PATCH] Documentation improvements based on Michael Lass suggestions. --- man/cron.8 | 10 +++++++++- src/cron.c | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/man/cron.8 b/man/cron.8 index ab21f2a..2fc7eed 100644 --- a/man/cron.8 +++ b/man/cron.8 @@ -27,7 +27,7 @@ crond \- daemon to execute scheduled commands .SH SYNOPSIS .B crond -.RB [ -n " | " -p " | " -s " | " -c " | " -m \fP\fI\fP ] +.RB [ -c " | " -h " | " -i " | " -n " | " -p " | " -P " | " -s " | " -m \fP\fI\fP ] .B crond .B -x @@ -133,6 +133,11 @@ The daemon loads the PAM environment from the pam_env module. This can be overridden by defining specific settings in the appropriate crontab file. .SH "OPTIONS" .TP +.B "\-h" +Prints a help message and exits. +.TP +.B "\-i" +Disables inotify support. .B "\-m" This option allows you to specify a shell command to use for sending .I Cron @@ -153,6 +158,9 @@ Allows .I Cron to accept any user set crontables. .TP +.B "\-P" +Change PATH. +.TP .B "\-c" This option enables clustering support, as described below. .TP diff --git a/src/cron.c b/src/cron.c index a532850..35ea241 100644 --- a/src/cron.c +++ b/src/cron.c @@ -155,6 +155,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 \ [-c] enable clustering support \n \ [-s] log into syslog instead of sending mails \n \ [-x [", -- 2.50.1