(file) Return to cimserver.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Server

Diff for /pegasus/src/Server/cimserver.cpp between version 1.1 and 1.2

version 1.1, 2001/04/15 17:58:58 version 1.2, 2001/04/15 18:06:56
Line 85 
Line 85 
     om.checkRequiredOptions();     om.checkRequiredOptions();
 } }
  
   void PrintHelp(const char* arg0)
   {
       cout << '\n';
       cout << PEGASUS_VERSION << endl;
       cout << '\n';
       cout << "Usage: " << arg0 << " [-port <port_num> -t -h -v]\n";
       cout << '\n';
       cout << "    -h - prints this help message\n";
       cout << "    -port - specifies port number to listen on\n";
       cout << "    -v - prints out the version number\n";
       cout << "    -t - turns on trace mode\n";
       cout << endl;
   }
   
 int main(int argc, char** argv) int main(int argc, char** argv)
 { {
     // Get environment variables:     // Get environment variables:
Line 138 
Line 152 
  
     if (om.lookupValue("help", helpOption) && helpOption == "true")     if (om.lookupValue("help", helpOption) && helpOption == "true")
     {     {
         cerr << "No help yet!" << endl;          PrintHelp(argv[0]);
         exit(0);         exit(0);
     }     }
  


Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2