From 179ec997363ecf369dbe5e6d8706bf84c70f8f53 Mon Sep 17 00:00:00 2001 From: Junichi Uekawa Date: Wed, 8 Oct 2008 04:08:31 +0000 Subject: [PATCH] Change help output to be based on variable contents, not hard-coded. --- lsyncd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lsyncd.c b/lsyncd.c index 030ef1a..e3af677 100644 --- a/lsyncd.c +++ b/lsyncd.c @@ -814,9 +814,11 @@ void print_help(char *arg0) printf(" --dryrun Do not call rsync, run dry only\n"); printf(" --exclude-from FILE Exclude file handlet to rsync (DEFAULT: None)\n"); printf(" --help Print this help text and exit.\n"); - printf(" --logfile FILE Put log here (DEFAULT: %s)\n", logfile); + printf(" --logfile FILE Put log here (DEFAULT: %s)\n", + logfile); printf(" --no-daemon Do not detach, log to stdout/stderr\n"); - printf(" --rsync-binary FILE Call this binary to sync (DEFAULT: %s)\n", rsync_binary); + printf(" --rsync-binary FILE Call this binary to sync (DEFAULT: %s)\n", + rsync_binary); printf(" --scarce Only log errors\n"); printf(" --version Print version an exit.\n"); printf("\n");