From: Thibault Godouet Date: Sun, 13 Apr 2014 09:56:06 +0000 (+0100) Subject: improved fcrondyn's usage message X-Git-Tag: ver3_1_3~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=06c4fe8f3c0cced0b2a0562bf36abc6c76daf951;p=thirdparty%2Ffcron.git improved fcrondyn's usage message --- diff --git a/fcrondyn.c b/fcrondyn.c index 03bfe31..d6cbb47 100644 --- a/fcrondyn.c +++ b/fcrondyn.c @@ -135,12 +135,16 @@ usage(void) { fprintf(stderr, "fcrondyn [-i]\n" - "fcrondyn -x 'command'\n" + "fcrondyn -x {command}\n" "fcrondyn -h\n" + " -i run fcrontab in interactive mode.\n" + " -x execute one command (in batch mode)\n" " -c f make fcrontab use config file f.\n" " -d set up debug mode.\n" " -h display this help message.\n" - " -V display version & infos about fcrondyn.\n" "\n"); + " -V display version & infos about fcrondyn.\n" "\n" + "To list the available commands, run:\n" + " fcrondyn -x help\n"); exit(EXIT_ERR); }