docs: def parseCmdline(self, requestData):
          """
          Parse the request command string.
  
          Input:
             Self with request filled in.
  
          Output:
             Request Handle updated with the parsed information so that
                it is accessible via key/value pairs for later processing.
             Return code - 0: successful, non-zero: error
          """
  
          self.printSysLog("Enter ReqHandle.parseCmdline")
  
          # Save the request data based on the type of operand.
          if isinstance(requestData, list):
              self.requestString = ' '.join(requestData)  # Request as a string
              self.request = requestData                  # Request as a list
          elif isinstance(requestData, string_types):
              self.requestString = requestData            # Request as a string
              self.request = shlex.split(requestData)     # Request as a list
          else:
              # Request data type is not supported.
              msg = msgs.msg['0012'][1] % (modId, type(requestData))
              self.printLn("ES", msg)
              self.updateResults(msgs.msg['0012'][0])
              return self.results
          self.totalParms = len(self.request)   # Number of parms in the cmd
  
          # Handle the request, parse it or return an error.
          if self.totalParms == 0:
              # Too few arguments.
              msg = msgs.msg['0009'][1] % modId
              self.printLn("ES", msg)
              self.updateResults(msgs.msg['0009'][0])
          elif self.totalParms == 1:
              self.function = self.request[0].upper()
              if self.function == 'HELP' or self.function == 'VERSION':
                  pass
              else:
                  # Function is not HELP or VERSION.
                  msg = msgs.msg['0008'][1] % (modId, self.function)
                  self.printLn("ES", msg)
                  self.updateResults(msgs.msg['0008'][0])
          else:
              # Process based on the function operand.
              self.function = self.request[0].upper()
              if self.request[0] == 'HELP' or self.request[0] == 'VERSION':
                  pass
              else:
                  # Handle the function related parms by calling the function
                  # parser.
                  if self.function in ReqHandle.funcHandler:
                      self.funcHandler[self.function][2](self)
                  else:
                      # Unrecognized function
                      msg = msgs.msg['0007'][1] % (modId, self.function)
                      self.printLn("ES", msg)
                      self.updateResults(msgs.msg['0007'][0])
  
          self.printSysLog("Exit ReqHandle.parseCmdline, rc: " +
                           str(self.results['overallRC']))
          return self.results