From b829fe1bab7c249268c13fef17a2d012e3e2ec7f Mon Sep 17 00:00:00 2001 From: Thibault Godouet Date: Sun, 13 Apr 2014 10:56:06 +0100 Subject: [PATCH] improved fcrondyn's usage message --- fcrondyn.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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); } -- 2.40.0