From: Marco van Wieringen Date: Tue, 26 Jun 2012 15:14:50 +0000 (+0200) Subject: Fix bug #1891 X-Git-Tag: Release-5.2.10~8 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=97d219603b8d763fb96b5737f82592312452629f;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"