Ignore:
Timestamp:
22/09/2007 00:52:08 (5 years ago)
Author:
chris
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/chris/general/lib/server/Daemon.h

    r1852 r1855  
    5151 
    5252        virtual const char *DaemonName() const; 
    53         virtual const char *DaemonBanner() const; 
     53        virtual std::string DaemonBanner() const; 
    5454        virtual const ConfigurationVerify *GetConfigVerify() const; 
     55        virtual void Usage(); 
    5556         
    5657        bool StopRun() {return mReloadConfigWanted | mTerminateWanted;} 
     
    8889        int mLogLevel; // need an int to do math with 
    8990        static Daemon *spDaemon; 
     91        std::string mAppName; 
    9092}; 
    9193 
Note: See TracChangeset for help on using the changeset viewer.