Changeset 1855 for box/chris/general/bin/bbackupd/BackupDaemon.cpp
- Timestamp:
- 22/09/2007 00:52:08 (5 years ago)
- File:
-
- 1 edited
-
box/chris/general/bin/bbackupd/BackupDaemon.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/chris/general/bin/bbackupd/BackupDaemon.cpp
r1854 r1855 38 38 #include <process.h> 39 39 #endif 40 41 #include <iostream> 40 42 41 43 #include "Configuration.h" … … 210 212 // 211 213 // -------------------------------------------------------------------------- 212 const char *BackupDaemon::DaemonBanner() const 213 { 214 #ifndef NDEBUG 215 // Don't display banner in debug builds 216 return 0; 217 #else 214 std::string BackupDaemon::DaemonBanner() const 215 { 218 216 return BANNER_TEXT("Backup Client"); 217 } 218 219 void BackupDaemon::Usage() 220 { 221 this->Daemon::Usage(); 222 223 #ifdef WIN32 224 std::cout << 225 " -s Run as a Windows Service, for internal use only\n" 226 " -i Install Windows Service (you may want to specify a config file)\n" 227 " -r Remove Windows Service\n" 228 " -S <name> Service name for -i and -r options\n"; 219 229 #endif 220 230 }
Note: See TracChangeset
for help on using the changeset viewer.
