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

Diff of /smsdaemon/Common.cpp

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

revision 158 by torben, Mon Dec 8 21:49:49 2008 UTC revision 175 by torben, Wed Dec 10 22:02:28 2008 UTC
# Line 97  void Common::loadConfig(int argc, char* Line 97  void Common::loadConfig(int argc, char*
97                  }                  }
98                  else if (current == "--config")                  else if (current == "--config")
99                  {                  {
100                            i++;
101                            if ( i<argc)
102                            {
103                                    configFilePath = argv[i];
104                            }
105                            else
106                            {
107                                    printUsage();
108                                    exit(1);
109                            }
110                            
111                  }                  }
112                  else if (current == "-h" || current == "--help")                  else if (current == "-h" || current == "--help")
113                  {                  {

Legend:
Removed from v.158  
changed lines
  Added in v.175

  ViewVC Help
Powered by ViewVC 1.1.20