From 7f4f08eb20a0e6d851e906ca2bbba24396ddc729 Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Tue, 26 Jun 2012 17:14:50 +0200 Subject: [PATCH] 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. --- bacula/src/dird/dird.c | 2 +- bacula/src/stored/stored.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" -- 2.39.5