parameters: (cmdLine)
return_statement: return options
docstring: Parse Pin command line
  
      @param cmdLine:     Pin command line.
      @type cmdLine:      string.
  
      @return:   Pin / tool options.
      @rtype     dictionary.
docstring_summary: Parse Pin command line
docstring_tokens: Parse Pin command line
function: def ParseCmd(cmdLine):
      """
      Parse Pin command line
  
      @param cmdLine:     Pin command line.
      @type cmdLine:      string.
  
      @return:   Pin / tool options.
      @rtype     dictionary.
      """
      options = {}
      args = shlex.split(cmdLine)
      # Parse command line and store all options in dictionary
      for knob,value in zip(args, args[1:]+["--"]):
          if knob.startswith('-'):
              if value.startswith('-'):
                  options[knob] = True
              else:
                  options[knob] = value
      return options
function_tokens: def ParseCmd ( cmdLine ) : options = { } args = shlex . split ( cmdLine ) # Parse command line and store all options in dictionary for knob , value in zip ( args , args [ 1 : ] + [ "--" ] ) : if knob . startswith ( '-' ) : if value . startswith ( '-' ) : options [ knob ] = True else : options [ knob ] = value return options