/[projects]/smsdaemon/Common.cpp
ViewVC logotype

Diff of /smsdaemon/Common.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 94 by torben, Mon Jun 16 11:57:48 2008 UTC revision 106 by torben, Tue Jun 17 17:56:45 2008 UTC
# Line 84  void Common::logMessage(string msg) Line 84  void Common::logMessage(string msg)
84    
85  void Common::printUsage()  void Common::printUsage()
86  {  {
87          cout << VERSION << endl << endl;          cout << VERSION << endl;
88            cout << SVNVERSION << endl << endl;
89          cout << "Usage --daemon|--debug [arguments]" << endl;          cout << "Usage --daemon|--debug [arguments]" << endl;
90          cout << "Commandline arguments :" << endl;          cout << "Commandline arguments :" << endl;
91          cout << "  --daemon : Run in daemon (background) mode" << endl;          cout << "  --daemon : Run in daemon (background) mode" << endl;
# Line 120  void Common::loadConfig(int argc, char* Line 121  void Common::loadConfig(int argc, char*
121                  }                  }
122                  else                  else
123                  {                  {
124                          cout << VERSION;                          cout << "Unknown argument : " << current << endl << endl;
                         cout << "Unknown argument : " << current << endl;  
125                  }                  }
126          }          }
127    

Legend:
Removed from v.94  
changed lines
  Added in v.106

  ViewVC Help
Powered by ViewVC 1.1.20