]> granicus.if.org Git - fcron/commitdiff
improved fcrondyn's usage message
authorThibault Godouet <fcron@free.fr>
Sun, 13 Apr 2014 09:56:06 +0000 (10:56 +0100)
committerThibault Godouet <fcron@free.fr>
Sun, 13 Apr 2014 09:56:06 +0000 (10:56 +0100)
fcrondyn.c

index 03bfe31681575b0e1cc36aa519612704bd66e991..d6cbb47337bfe2410aef0913a684847882242af8 100644 (file)
@@ -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);
 }