BUG#: 8724
authorkarl <karl>
Thu, 18 Feb 2010 03:00:04 +0000 (03:00 +0000)
committerkarl <karl>
Thu, 18 Feb 2010 03:00:04 +0000 (03:00 +0000)
TITLE: cimcli invokeMethod skips first input parameter

DESCRIPTION: Modified the -ip option to show deprecated and generate
error message. Modified error documentation. Modified one test in CMPI
to eliminate the option

src/Clients/cimcli/CIMCLICommand.cpp
src/Clients/cimcli/CIMCLIOptions.cpp
src/Clients/cimcli/CIMCLIOutput.cpp
src/Clients/cimcli/doc/cimcli.nroff
src/Pegasus/msg/CLI/pegasusCLI_en.txt
src/Providers/TestProviders/CLITestProvider/tests/Makefile
src/Providers/TestProviders/CLITestProvider/tests/helpresult.master
src/Providers/TestProviders/CLITestProvider/tests/helpresult.master.ssl
src/Providers/sample/CMPI/MethodProvider/tests/Makefile

index 74aa04b974cfb1c0b28c0d1c25a497c3fc690a1f..48550922f2fd968f7e7e2d5d38db46622caa5852 100644 (file)
@@ -807,22 +807,19 @@ int main(int argc, char** argv)
                         cerr << "Usage: InvokeMethod requires that object and"
                             " method names be specified.\n"
                             "Input parameters are optional and can be"
-                            " specified with the -ip option or as"
-                            " additional parameters to this call. "
+                            " specified as additional parameters to"
+                            " this call. "
                             "Enter each input parameter as name=value"
                             " (no spaces around equal sign)."
                             << endl;
                         exit(CIMCLI_INPUT_ERR);
                     }
-                    //cout << "Input args 2 " << argv[2]
-                    //      << " 3 " << argv[3] << endl;
 
                     if (!_getObjectNameInput(argc, argv, opts, true))
                     {
                         exit(CIMCLI_INPUT_ERR);
                     }
-                    //opts.objectName = argv[2];
-                    //opts.inputObjectName = argv[2];
+
                     opts.methodName = CIMName(argv[3]);
                     // remove the method name argument
                     opts.valueParams.remove(0);
index acd5d05d13a8b6247b0a7604e643d0078bd44074..0bc1c0a4f43c684f3d1284ef0995ecd8ca915d9e 100644 (file)
@@ -94,8 +94,8 @@ void BuildOptionsTable(
         {"count", "29346", false, Option::WHOLE_NUMBER, 0, 0, "count",
         "Clients.cimcli.CIMCLIClient.COUNT_OPTION_HELP",
         "Expected count of objects returned if summary set.\n"
-            "    Tests this count and display difference.\n"
-            "    Return nonzero if test fails"},
+            "    Tests this count and displays difference.\n"
+            "    Return nonzero status code if test fails"},
 
         {"debug", "false", false, Option::BOOLEAN, 0, 0, "d",
         "Clients.cimcli.CIMCLIClient.DEBUG_OPTION_HELP",
@@ -201,11 +201,14 @@ void BuildOptionsTable(
         "Defines a role string for associators operation resultRole\n"
             "    parameter"},
 
+        // This options has been deprecated and its functionality removed
+        // Keeping it simply as means to explain the issue to users in case
+        // they try to use it.
         {"inputParameters", "", false, Option::STRING, 0, 0, "ip",
         "Clients.cimcli.CIMCLIClient.INPUTPARAMETERS_OPTION_HELP",
-        "Defines an invokeMethod input parameter list.\n"
-            "    Format is p1=v1 p2=v2 .. pn=vn\n"
-            "    (parameters are seperated by spaces)"},
+        "This option deprecated and removed. Replaced by use of\n"
+            "    the same name/value pair syntax as properties in create\n"
+            "    and modify instance."},
 
         {"filter", "", false, Option::STRING, 0, 0, "f",
         "Clients.cimcli.CIMCLIClient.FILTER_OPTION_HELP",
@@ -372,17 +375,20 @@ Boolean lookupStringResolvedOption(Options& opts,
     return resolvedStateVariable;
 }
 
-
+/*
+    Lookup string option and insert into target property
+    Uses the table defined default directly if nothing input from
+    either command line or config file.
+*/
 void lookupStringOption(Options& opts,
     OptionManager& om,
     const char* optionName,
-    String& optsTarget,
-    const String& defaultValue)
+    String& optsTarget)
 {
-    // Test for existing option
+    // Test for existing option. If nothing found, this
+    // function exits cimcli with error status
     const Option* op = _lookupOption(om, optionName);
 
-    optsTarget = defaultValue;
     if (om.lookupValue(optionName, optsTarget))
     {
         if (opts.verboseTest && opts.debug)
@@ -390,7 +396,8 @@ void lookupStringOption(Options& opts,
     }
 }
 
-// Set the correct empty string into the variable.
+// Looks up a String option by name.  If the returned value is empty
+// insures that it is value by setting to String::EMPTY
 void lookupStringOptionEMPTY(Options& opts,
     OptionManager& om,
     const char* optionName,
@@ -590,13 +597,13 @@ int CheckCommonOptionValues(OptionManager& om, char** argv, Options& opts)
         exit(CIMCLI_RTN_CODE_OK);
     }
 
-    lookupStringOption(opts, om, "namespace", opts.nameSpace, "root/cimv2");
+    lookupStringOption(opts, om, "namespace", opts.nameSpace);
 
     lookupStringOptionEMPTY(opts, om, "role", opts.role);
 
     lookupStringOptionEMPTY(opts, om, "resultRole", opts.resultRole);
 
-    lookupStringOption(opts, om, "location", opts.location, String::EMPTY);
+    lookupStringOption(opts, om, "location", opts.location);
 
 #ifdef PEGASUS_HAS_SSL
     // Determine whether to connect over HTTPS
@@ -647,6 +654,25 @@ int CheckCommonOptionValues(OptionManager& om, char** argv, Options& opts)
                                    opts.setRtnHostNames,
                                    opts.rtnHostSubstituteName);
 
+    // Test for existence of input parameter option.  If found, put out
+    // warning and exit with syntax error message.  This parameter was
+    // deprecated and removed in favor of direct input of name/value pairs
+    // as separate input entities in CIM Version 2.10
+    Boolean inputParametersResolved = false;
+    String inputParameters;
+    lookupStringResolvedOption(opts, om,
+                                   "inputParameters",
+                                   inputParametersResolved,
+                                   inputParameters);
+    if (inputParametersResolved)
+    {
+        cerr << "The -ip option has been deprecated and removed.\n"
+              "    parameters can be directly input as name/value pairs\n"
+              "    in the same manner properties are input to the\n"
+              "    createInstance and other operations\n" << endl;
+        exit(CIMCLI_INPUT_ERR);
+    }
+
     // process localOnly and notlocalOnly parameters
     opts.localOnly = om.isTrue("localOnly");
     if (om.isTrue("notLocalOnly"))
index d1511b0bc2afe50792b3f93c543d69989e71e838..8a21ac5d6d0e5bb47543830f77c8f38ee1af05ec 100644 (file)
@@ -95,12 +95,12 @@ static int _compareKeyBinding(const CIMKeyBinding& kb1,
                     rtn = 0;
                 }
                 break;
-    
+
             case CIMKeyBinding::BOOLEAN:
                 // Compare as no case strings
                 rtn = String::compareNoCase(kb1.getValue(), kb1.getValue());
                 break;
-    
+
             case CIMKeyBinding::NUMERIC:
                 // convert to numeric values and compare
                 Uint64 uValue1;
index 6c09067318d832db4f0a4e31bd71aad54cc1daf0..672ced18d6acb9b46fd12f243b96ed83661f5f4f 100644 (file)
@@ -260,7 +260,8 @@ Repeat the operation repeat_count times. This repeats the operation
 without disconnecting. This option is useful for setting up tests that
 load the server with repeated calls and also for getting average times
 for an operation by taking the average of a number of calls ( when
-used with the summary information option and the measure time option). 
+used with the summary information option and the measure time option).
+
 .TP
 .B \-delay [seconds]
 Delay count seconds between connect and operation.
@@ -288,9 +289,11 @@ is output to cerr.
 .nf 
    cimcli en CIM_ManagedElement -count 100
 
-       If the count of instances returned is not equal to 100, cimcli exits
-       with error code 60 and the Failed count test ... error message.
-.fi 
+       If the count of instances returned is not equal to 100,
+       cimcli exits with error code 60 and the Failed count test 
+       error message.
+.fi
+
 .TP
 .B \--timeout [seconds]
 Set the connect timeout to some time other than the default timeout.
@@ -417,77 +420,111 @@ name and value parameters provided with the input.  The command issues the
 CIM operation createInstance with an instance built from the parameters 
 provided.  It requires the [OperationTarget] parameter defining the class 
 for which the instance is to be created and also allows for an optional 
-set of value parameters that define properties to be provided in the 
-created instance in the following format: 
+set of name=value parameters that define properties to be provided in the 
+created instance in the following format:
+
 .nf
   [propertyName]=value
      where value may be either a scalar for scalar properties
      or an array for array properties.
-
-  The detailed form for the input is defined in section TBD.   
+  or
+  [propertyName]!
+  or
+  [propertyName]=
+  or
+  [propertyName]
 .fi
-If the propertyName parameter is provided with no value, the default value or
-NULL if there is no default value is inserted.
-
-Note that string property values are a special case because there are actually
-two concepts that must be covered when there is no value, 1) Empty String or
-2. NULL/default value.
 
-Thus when a property that requires an empty string is to be input, the user
-will specify it with no value after the = sign.  If, a NULL or default value
-is desired, the = sign terminator is replaced with the ! (exclamation mark).
+The detailed form for value input is defined as follows:
 
-The operation first accesses the CIMServer for the class definition and 
-uses this information to build the proper value types and values for the 
-instance.  
+.B 1.
+Scalar property values - The tring form of the property similar
+to MOF input of constant values is used to input scalar values.
+The scalarvalue input includes all CIM Types. Numeric values may
+be input in hex, octal, decimal or binary in the same form as
+the DMTF specification for MOF. Quotations are not required surrounding
+values unless the value includes spaces.  Quote marks can be embedded
+by escaping them.
 
-This command builds the instance with all of the properties for which
-name/value pairs representing the properties of the class are input.
-It does not include any properties that are not defined on the command line.
+.B 2.
+Array property values - Array property values are defined by defining a string
+that is comma-separated scalarvalue entities.
+of the form :
 
-To create an instance with less than the full set of properties,
-supply only those properties that are to be submitted to the CIM Server.
+.nf
+       {scalarvalue1[,scalarvalue.n]*}
+.fi
 
-Scalar property values - The String form of the property similar to MOF input
-of constant values is used to input scalar values.
+The array MUST NOT include any spaces between the scalarvalue
+entities.  It must appear to cimcli as a single input parameter. 
+In addition, array value can be input by repeating the complete parameter
+so that values input will be appended to an already created array.
 
-Array property values - Array properties are defined by defining a value
-of the form:
+.B 3.
+If the propertyName parameter is provided with no value, the
+default value or NULL if there is no default value is inserted.
 
-       { scalarvalue1[,scalarvaluex]*}
+.B 4.
+String property values are special because there are actually
+two concepts that must be covered when there is no value, 
+1) Empty String or
+2. NULL/default value. These are different for CIM Strings.
 
-Note that the array MUST NOT include any spaces between the scalarvalue
-entities.
+When a property that requires an empty string is to be input,
+the user will specify it with no value after the = sign.
+If, a NULL or default value is desired, the = sign terminator
+is replaced with the ! (exclamation mark).
 
-[FUTURE]The capability exists to create "incorrect" properties as an
-additional test capability. Generally this means properties with an
-incorrect type or with names that are not part of the class for which
-the instance is being built.  
+.B 5
+The value defined in the name/value pair must be decodable into the
+CIMType of the CIMClass for which the instance is being created.
 
-[FUTURE]If a property value definition is supplied with the form
+The execution of this operation first accesses the CIMServer for the class 
+definition and uses this information to build the proper value types and 
+values for the instance. This means that values that cannot be decoded with
+values to match the CIM Type in the class will be rejected. 
 
- "("PropertyType")"[propertyName]=value
+This command builds the instance with all of the properties for which
+name/value pairs representing the properties of the class are input.
+It does not include any properties that are not defined on the command line.
 
-where property type is one of the CIM property types (i.e. boolean,
-String, Uint8, etc.) the property will be recreated or added to the
-instance with that type and name.  Thus, a property can be added with
-an incorrect name or with an incorrect type overriding the definition
-in the class.
+To create an instance with less than the full set of properties,
+supply only those properties that are to be submitted to the CIM Server.
 
-The command will be rejected if the class does not exist in the namespace.
+The command will be rejected if the class does not exist in the namespace or
+if the input includes property names that are not in the class.
 
 .B Examples:
 .nf
-    cimcli ci CIM_xxxx name=abc size=zyx
-    cimcli ci CIM_xxxx name=abc anotherproperty=32
-        create an instance of CIM_xxxx with name property value = abc, 
-       a property added named another property with type uint32 and
-       value of 32.
-    cimcli ci CIM_xxxx name=abc arrayParam={abc,def,ghi,"jkl mno" \
-       numericArray=1,2,3,4
+    cimcli ci CIM_xxxx ID=abc size=32 age=O12
+        Creates an instance of CIM_xxxx with 
+          property ID value = abc, 
+          property size with value 32
+          property age with value octal 012
+
+    cimcli ci CIM_xxxx ID=grrrr \\
+           arrayParam={abc,def,ghi,"jkl mno" \\
+           numArray=1,2,3,4
+       Creates an instance of CIM_xxxx with
+          property ID with value = grrr
+          property arrayParam (a String array property)
+              with the values
+                   abc
+                   def
+                   ghi
+                   jkl mno
+           property numArray (Uint32 array) with
+              the values  1, 2, 3, 4
+              
+     cimcli ci CIM_xxxx ID=blah
+          numArray=1,2,3 numArray=4,5
+       Creates an instance with the ID property and
+       the numArray property having the  values
+           1,2,3,4,5
 .fi
 Returns the object path of the created instance if the call to the CIM
-server was executed successfully.  Otherwise it returns the exception received.
+server was executed successfully.  Otherwise it returns the exception received
+from the server.
 
 .TP
 .B mi    ModifyInstance
@@ -505,6 +542,9 @@ the class definition for the server and uses the property type
 information from the class to properly crate the property value types
 from the input property values.
 
+For a detailed definition of the name/value input see the createInstance
+description.
+
 In addition to the property definitions, this command allows the
 property list options (-pl) that defines a property list to be
 supplied to the target server with the modifyInstance CIM Operation.
@@ -512,9 +552,11 @@ supplied to the target server with the modifyInstance CIM Operation.
 .B Example:
 .nf
     cimcli mi CIM_xxxx name=abc size=zyx
-    cimcli mi CIM_xxxx name=abc arrayParam={abc,def,ghi,"jkl mno" \
+    cimcli mi CIM_xxxx name=abc arrayParam= \\
+          {abc,def,ghi,"jkl mno" \
           numericArray=1,2,3,4
 .fi
+
 .TP
 .B ec    EnumerateClasses
 Issues the enumerateClasses CIM operation which enumerates the class
@@ -592,15 +634,16 @@ names returned.
 
 .B Examples:
 .nf
-    cimcli ni CIM_ManagedElement -p password -n name -n root/PG_Interop --sort
+    cimcli ni CIM_ManagedElement -p password -n name\
+        -n root/PG_Interop --sort
 
-       Execute the enumerateInstanceNames operation on CIM_ManagedElement
-       class in the root/PG_Interop namespace. Sort the returned list
-       of instance paths.
+       Execute the enumerateInstanceNames operation on
+       CIM_ManagedElement class in the root/PG_Interop namespace.
+       Sort the returned list of instance paths.
 
     cimcli ni CIM_Door --sum
-        Execute the enumerateInstanceNames operation on the class CIM_Door
-       and return the count of instance paths returned.
+        Execute the enumerateInstanceNames operation on the class
+       CIM_Door and return the count of instance paths returned.
 .fi
 .TP
 .B ei    EnumerateInstances
@@ -642,10 +685,11 @@ output options parameter.
 .B Examples:
 .nf
     cimcli ei CIM_ComputerSystem -niq -di
-        This example enumerates CIM_ComputerSystem in the namespace
-        root/CIMV2 (default) requesting without qualifiers (-niq) with
-        deepInheritance (-di).  
+        This example enumerates CIM_ComputerSystem in the
+        namespace root/CIMV2 (default) requesting without
+        qualifiers (-niq) with deepInheritance (-di).  
 .fi
+
 .TP
 .B niall enumerateallinstanceNames
 Execute an enumerateinstancenames on all classes to get all class
@@ -666,9 +710,12 @@ location, etc.)
 .nf
     cimcli niall -n test/testproviders
 
-        Returns all instancenames in the namespace test/testproviders by
-        executing enumerateinstancenames on each class in the namespace.
+        Returns all instancenames in the namespace
+       test/testproviders by executing
+       enumerateinstancenames on each class in
+       the namespace.
 .fi
+
 .TP
 .B gi    GetInstance
 Gets the instance defined by the instance name parameter and displays it
@@ -718,10 +765,12 @@ optional property list for the operation
 .nf
     cimcli gi cim_ManagedElement
 
-        This is an interactive request that returns a list of CIMObjectPaths
-       from an enumerateInstance of CIM_ManagedElement from which the
-       user can select one path which cimcli will uses as the [objectname]
-       to execute a getInstance operation returning the instance.
+        This is an interactive request that returns a list of
+           CIMObjectPaths from an enumerateInstance of
+           CIM_ManagedElement from which the user can select
+           one path which cimcli will uses as the [objectname]
+           to execute a getInstance operation returning the
+           instance.
 .fi
 
 .TP
@@ -746,14 +795,14 @@ was successfully deleted or an exception return if there were any errors.
 .nf
     cimcli di President."name=fred" -n test/testnamespace
 
-        Attempt to delete the instance of President with the key property
-       name - fred from the test/testnamespace namespace.
+        Attempt to delete the instance of President with the key
+       property name(fred) from the test/testnamespace namespace.
 
     cimcli di President  -n test/testnamespace
 
-        cimcli requests instance paths for the President class in the
-       test/testnamespace and puts the complete list on the console for
-       the user to select one instance to delete.
+        cimcli requests instance paths for the President class in
+       the test/testnamespace and puts the complete list on the
+       console for the user to select one instance to delete.
 .fi
 
 .TP
@@ -902,12 +951,15 @@ selection. Thus, the user can execute interactive reference, etc. operations
 .B Examples:
 .nf    
      cimcli a CIM_ManagedElement
-          would return classs that associate with CIM_ManagedElement
+          would return classs that associate with
+         CIM_ManagedElement
 
      cimcli a CIM_ManagedElement -i
-          executes an enumerateInstanceNames on CIM_ManagedElement and
-         presents the user with a list of instances names so that the user can
-         pick an instance name that will be used for the associator request.
+          executes an enumerateInstanceNames on
+         CIM_ManagedElement and presents the user with
+         a list of instances names so that the user can
+         pick an instance name that will be used for
+         the associator request.
 .fi
 .TP
 .B rn    referencenames
@@ -956,8 +1008,12 @@ Parameters are input in the form:
        parameterName=<value>
 
        <value> defines may be any of the value forms defined for
-       CIM value including string, integer, etc.  NOTE: Earlier versions
-       of cimcli allowed only String values.
+       CIM value including string, integer, etc.  See the
+       createInstance description for detailed information on
+       the syntax of the value component.
+       NOTE: Earlier versions
+       of cimcli allowed only String values and used the -ip
+       option. This option has been removed.
 .fi
 The completed operations displays the return code from the command and
 any returned parameters that are qualified as OUT parameters.
@@ -965,13 +1021,37 @@ any returned parameters that are qualified as OUT parameters.
 .B Example:
 .nf
        cimcli PG_WBEMSLPTemplate register -n root/PG_Interop
+           Calls PG_WBEMSLPTemplate class with the method named
+           register
 
        cimcli PG_XXX dosomething input1=true input2=1111
-       --- input1 is boolean parameter and input2 is Uint32 parameter
+           Calls PG_XXX class method dosomething with two
+           parameters:
+           input1 is boolean parameter with value true
+           input2 is Uint32 parameter with value 1111
 .fi
+
 .TP
-.B eq    executeQuery
- The executeQuery operation is not supported in the current version of cimcli.
+.B xq    execQuery
+The execQuery operation directly executes the CIM Operation execQuery
+with the input parameter supplied either by direct parameter input
+or the options for filter and querylanguage. The syntax of the operation is
+
+      cimcli <query_filter> <query_language> <options>
+
+the query_filter and the query_language may be supplied directly on the
+command line as parameter or vi options (-f for the query filter and
+-ql for query language.
+
+The execQuery cim Operation is executed directly with the input parameters
+or options.  If neither a query_filter parameter or option are supplied
+cimcli returns an error.
+
+.B Examples
+       cimcli xq "Select * from CIM_Something" CQL
+
+       cimcli xq "Select * from CIM_blah"
+            uses WQL as default query language
 
 .TP
 .B son
@@ -1059,6 +1139,28 @@ option is set. This is optional and used only  with the -s and --key
 options. The parameter certificateFilePath is required with the parameter
 and defined the file containing the certificate.
 
+.TP
+.B \--count [object_count]
+Defines an expected count of objects to be returned in the response.
+cimcli is terminated with an error exit if the number of objects returned does
+not match the object_count supplied with the option. 
+This test can be used in batch files to test for number of 
+objects returned by an operation.  In addition to the error status code, a 
+message 
+of the general form:
+     "Failed count test. Expected= xx. Received= yy"
+is output to cerr.
+
+.B Example:
+.nf 
+   cimcli en CIM_ManagedElement -count 100
+
+       If the count of instances returned is not equal to 100,
+       cimcli exits with error code 60 and the Failed count test 
+       error message.
+.fi
+
 .TP
 .B \-delay [time in seconds]
 Delay between connection and request . Default(0). example -delay 3
@@ -1098,13 +1200,6 @@ operations that were felt to be useful in testing CIM environments.
 .B \-ic
 Boolean to set include class origin operation parameter to true.
 
-
-.TP
-.B \-ip [inputParameterList]
-Defines an invokeMethod input parameter list. Format is:
-
-p1=v1,p2=v2,..,pn=vn (without spaces) . Default()
-
 .TP
 .B \-f [filter]
 Defines a filter to use for query. One String input . Default()
index 604dcf859bea686be420b57b908eb5a6509040d9..bdb2416bd9fbcdc71546ab3d364b7493cde540e7 100755 (executable)
@@ -955,8 +955,8 @@ en:table {
 
         Clients.cimcli.CIMCLIClient.COUNT_OPTION_HELP:string {
         "-count count. Expected count of objects returned if summary set.\n"
-        "    Tests this count and display difference.\n"
-        "    Return nonzero if test fails. Default(29346)\n"}
+        "    Tests this count and displays difference.\n"
+        "    Return nonzero status code if test fails. Default(29346)\n"}
 
         Clients.cimcli.CIMCLIClient.NI_COMMAND_HELP:string {
         "ni    enumerateInstanceNames Enumerate instancenames of <classname>\n"}
@@ -1345,9 +1345,10 @@ en:table {
         "    parameter. Default()\n"}
 
         Clients.cimcli.CIMCLIClient.INPUTPARAMETERS_OPTION_HELP:
-        string {"-ip  inputParameters. Defines an invokeMethod input parameter list.\n"
-        "    Format is p1=v1 p2=v2 .. pn=vn\n"
-        "    (parameters are seperated by spaces) . Default()\n"}
+        string {"-ip  inputParameters. Deprecated and Removed. Replaced by use of\n"
+       "    use of the same name/value pair syntax as properties in create\n"
+       "    and modify instance.\n"
+       }
 
         Clients.cimcli.CIMCLIClient.FILTER_OPTION_HELP:string {
         "-f  filter. Defines a filter to use for query. Single String input. Default()\n"}
index 98814d220b2860a92b54b8e27bc64d7885932397..8d542cb44657d6465209f0a129d57fa51e9c4503 100644 (file)
@@ -118,13 +118,8 @@ getclass:
 testRefs:
        @$(ECHO) 1. +++++ Test For Reference params
        @$(ECHO) 1. +++++ Test For Reference params  >> $(RESULTFILE)
+##      Test removed.
 
-##@cimcli im Test_CLITestProviderClass  ReferenceParamTest \
-## -n "$(PROVIDERNS)" -ip a=[class.k1=v1,k2=v2,k3=v3]
-
-##@$(ECHO) 2. +++++ Test String  params  which include square brackets
-##@cimcli im Test_CLITestProviderClass  ReferenceParamTest \
-##-n "$(PROVIDERNS)" -ip a="\[string-param\]"
 
 ### test get and set property operations
 testPropertyOperations:
index 0cffd6cc7eecedfe9ab0ad7be8aa5ae6957f5faf..16444a6d8d7a8ffd7995a21b2efe3f117fe8f26f 100644 (file)
@@ -11,8 +11,8 @@ The options for this command are:
 This command executes single CIM Operations.
 
  -count  count. Expected count of objects returned if summary set.
-    Tests this count and display difference.
-    Return nonzero if test fails. Default(29346)
+    Tests this count and displays difference.
+    Return nonzero status code if test fails. Default(29346)
  -d  debug. More detailed debug messages. Default(false)
  -delay  delay. Delay between connection and request. Default(0)
  -p  Password. Defines password for authentication. Default()
@@ -44,9 +44,9 @@ This command executes single CIM Operations.
     Associatiors. Default()
  -rr  resultRole. Defines a role string for associators operation resultRole
     parameter. Default()
- -ip  inputParameters. Defines an invokeMethod input parameter list.
-    Format is p1=v1 p2=v2 .. pn=vn
-    (parameters are seperated by spaces). Default()
+ -ip  inputParameters. This option deprecated and removed. Replaced by use of
+    the same name/value pair syntax as properties in create
+    and modify instance.. Default()
  -f  filter. Defines a filter to use for query. Single String input. Default()
  -o  outputformats. Output in xml, mof, txt, table. Default(mof)
  -x  xmlOutput. Output objects in xml format. Default(false)
@@ -312,8 +312,8 @@ The options for this command are:
 This command executes single CIM Operations.
 
  -count  count. Expected count of objects returned if summary set.
-    Tests this count and display difference.
-    Return nonzero if test fails. Default(29346)
+    Tests this count and displays difference.
+    Return nonzero status code if test fails. Default(29346)
  -d  debug. More detailed debug messages. Default(false)
  -delay  delay. Delay between connection and request. Default(0)
  -p  Password. Defines password for authentication. Default()
@@ -345,9 +345,9 @@ This command executes single CIM Operations.
     Associatiors. Default()
  -rr  resultRole. Defines a role string for associators operation resultRole
     parameter. Default()
- -ip  inputParameters. Defines an invokeMethod input parameter list.
-    Format is p1=v1 p2=v2 .. pn=vn
-    (parameters are seperated by spaces). Default()
+ -ip  inputParameters. This option deprecated and removed. Replaced by use of
+    the same name/value pair syntax as properties in create
+    and modify instance.. Default()
  -f  filter. Defines a filter to use for query. Single String input. Default()
  -o  outputformats. Output in xml, mof, txt, table. Default(mof)
  -x  xmlOutput. Output objects in xml format. Default(false)
index 2af13170c0f6f171506a29f0155cd41ff6a6d913..c14dca0c7643d458de9b091d63d75bc45bbf6af1 100644 (file)
@@ -11,8 +11,8 @@ The options for this command are:
 This command executes single CIM Operations.
 
  -count  count. Expected count of objects returned if summary set.
-    Tests this count and display difference.
-    Return nonzero if test fails. Default(29346)
+    Tests this count and displays difference.
+    Return nonzero status code if test fails. Default(29346)
  -d  debug. More detailed debug messages. Default(false)
  -delay  delay. Delay between connection and request. Default(0)
  -p  Password. Defines password for authentication. Default()
@@ -51,9 +51,9 @@ This command executes single CIM Operations.
     Associatiors. Default()
  -rr  resultRole. Defines a role string for associators operation resultRole
     parameter. Default()
- -ip  inputParameters. Defines an invokeMethod input parameter list.
-    Format is p1=v1 p2=v2 .. pn=vn
-    (parameters are seperated by spaces). Default()
+ -ip  inputParameters. This option deprecated and removed. Replaced by use of
+    the same name/value pair syntax as properties in create
+    and modify instance.. Default()
  -f  filter. Defines a filter to use for query. Single String input. Default()
  -o  outputformats. Output in xml, mof, txt, table. Default(mof)
  -x  xmlOutput. Output objects in xml format. Default(false)
@@ -319,8 +319,8 @@ The options for this command are:
 This command executes single CIM Operations.
 
  -count  count. Expected count of objects returned if summary set.
-    Tests this count and display difference.
-    Return nonzero if test fails. Default(29346)
+    Tests this count and displays difference.
+    Return nonzero status code if test fails. Default(29346)
  -d  debug. More detailed debug messages. Default(false)
  -delay  delay. Delay between connection and request. Default(0)
  -p  Password. Defines password for authentication. Default()
@@ -359,9 +359,9 @@ This command executes single CIM Operations.
     Associatiors. Default()
  -rr  resultRole. Defines a role string for associators operation resultRole
     parameter. Default()
- -ip  inputParameters. Defines an invokeMethod input parameter list.
-    Format is p1=v1 p2=v2 .. pn=vn
-    (parameters are seperated by spaces). Default()
+ -ip  inputParameters. This option deprecated and removed. Replaced by use of
+    the same name/value pair syntax as properties in create
+    and modify instance.. Default()
  -f  filter. Defines a filter to use for query. Single String input. Default()
  -o  outputformats. Output in xml, mof, txt, table. Default(mof)
  -x  xmlOutput. Output objects in xml format. Default(false)
index 87dc77ddec45365dd8370e92d4d9ef4b71d6463d..347e4158f58e69afb09183c88fb3c6b02b251929 100644 (file)
@@ -41,7 +41,8 @@ depend:
 general:
 
 poststarttests: 
-       @cimcli im CMPISample_MethodProviderClass SayHello -n root/SampleProvider -ip Name=\"John\"
+       @cimcli im CMPISample_MethodProviderClass SayHello \
+           -n root/SampleProvider Name=\"John\"
        
 
 install: