diff options
author | Chris Wilson <chris+github@qwirx.com> | 2007-10-17 12:54:17 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2007-10-17 12:54:17 +0000 |
commit | 7239aaba320fbc24dd608585ca417f804dab1950 (patch) | |
tree | 465db401c818c065a8b955618366c29ca94b11b2 /bin/bbstored/BackupStoreDaemon.cpp | |
parent | 891cf7aa3028cd32ee8c4f13cc24ec0cef774620 (diff) |
Add "-h" and "/?" options to display usage in Daemon.
Extend usage info with service commands in BackupDaemon.
Disable useless -D, -V and -k options on Windows.
(merges 1855])
Diffstat (limited to 'bin/bbstored/BackupStoreDaemon.cpp')
-rw-r--r-- | bin/bbstored/BackupStoreDaemon.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/bin/bbstored/BackupStoreDaemon.cpp b/bin/bbstored/BackupStoreDaemon.cpp index c5d5fe40..28e28176 100644 --- a/bin/bbstored/BackupStoreDaemon.cpp +++ b/bin/bbstored/BackupStoreDaemon.cpp @@ -93,14 +93,9 @@ const char *BackupStoreDaemon::DaemonName() const // Created: 1/1/04 // // -------------------------------------------------------------------------- -const char *BackupStoreDaemon::DaemonBanner() const +std::string BackupStoreDaemon::DaemonBanner() const { -#ifndef NDEBUG - // Don't display banner in debug builds - return 0; -#else return BANNER_TEXT("Backup Store Server"); -#endif } |