From: Marco van Wieringen Date: Tue, 26 Jun 2012 15:14:50 +0000 (+0200) Subject: Fix bug #1891 X-Git-Tag: Release-7.0.0~167 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7f4f08eb20a0e6d851e906ca2bbba24396ddc729;p=bacula%2Fbacula Fix bug #1891 Both the storage daemon and director should use the correct name in the usage output. The file daemon already uses bacula-fd and from now on bacula-sd and bacula-dir is used for the other daemons in their usage output. --- diff --git a/bacula/src/dird/dird.c b/bacula/src/dird/dird.c index fec7135072..1c74ea0491 100644 --- a/bacula/src/dird/dird.c +++ b/bacula/src/dird/dird.c @@ -110,7 +110,7 @@ static void usage() fprintf(stderr, _( PROG_COPYRIGHT "\nVersion: %s (%s)\n\n" -"Usage: dird [-f -s] [-c config_file] [-d debug_level] [config_file]\n" +"Usage: bacula-dir [-f -s] [-c config_file] [-d debug_level] [config_file]\n" " -c set configuration file to file\n" " -d set debug level to \n" " -dt print timestamp in debug output\n" diff --git a/bacula/src/stored/stored.c b/bacula/src/stored/stored.c index 05c108a9cc..e0cb9dfafd 100644 --- a/bacula/src/stored/stored.c +++ b/bacula/src/stored/stored.c @@ -85,7 +85,7 @@ static void usage() fprintf(stderr, _( PROG_COPYRIGHT "\nVersion: %s (%s)\n\n" -"Usage: stored [options] [-c config_file] [config_file]\n" +"Usage: bacula-sd [options] [-c config_file] [config_file]\n" " -c use as configuration file\n" " -d set debug level to \n" " -dt print timestamp in debug output\n"