(file) Return to CIMUserCommand.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Clients / cimuser

Diff for /pegasus/src/Clients/cimuser/CIMUserCommand.cpp between version 1.33 and 1.34

version 1.33, 2005/01/03 11:24:44 version 1.34, 2005/01/07 10:58:51
Line 32 
Line 32 
 //                (carolann_graves@hp.com) //                (carolann_graves@hp.com)
 //              Amit K Arora, IBM (amita@in.ibm.com) for PEP-101 //              Amit K Arora, IBM (amita@in.ibm.com) for PEP-101
 //              Alagaraja Ramasubramanian, IBM (alags_raj@in.ibm.com) - PEP-167 //              Alagaraja Ramasubramanian, IBM (alags_raj@in.ibm.com) - PEP-167
 //              Amit K Arora, IBM (amita@in.ibm.com) for Bug#2311, Bug#2333  //              Amit K Arora, IBM (amita@in.ibm.com) - Bug#2311,#2333,#2351
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 595 
Line 595 
     {     {
         if (options [i].getType () == Optarg::LONGFLAG)         if (options [i].getType () == Optarg::LONGFLAG)
         {         {
   
             //PEP 167 : long flags newly added to this command  
   
             if(options [i].getopt () == LONG_HELP)             if(options [i].getopt () == LONG_HELP)
               {
                   if (_operationType != OPERATION_TYPE_UNINITIALIZED)
                   {
                       String param = String (LONG_HELP);
                       //
                       // More than one operation option was found
                       //
                       UnexpectedOptionException e (param);
                       throw e;
                   }
   
                _operationType = OPERATION_TYPE_HELP;                _operationType = OPERATION_TYPE_HELP;
               }
             else if (options [i].getopt () == LONG_VERSION)             else if (options [i].getopt () == LONG_VERSION)
                _operationType = OPERATION_TYPE_VERSION;              {
                   if (_operationType != OPERATION_TYPE_UNINITIALIZED)
                   {
             c = options [i].getopt () [0];                      String param = String (LONG_VERSION);
                       //
                       // More than one operation option was found
                       //
                       UnexpectedOptionException e (param);
                       throw e;
                   }
  
             //PEP 167 change                 _operationType = OPERATION_TYPE_VERSION;
             //UnexpectedOptionException e (c);              }
             //throw e;  
         }         }
         else if (options [i].getType () == Optarg::REGULAR)         else if (options [i].getType () == Optarg::REGULAR)
         {         {


Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2