parameters: (ovars, opts, args)
docstring: Given the results of parseCmdLine(), populate the 'ovars' dict
      for this main routine.
docstring_summary: Given the results of parseCmdLine(), populate the 'ovars' dict
      for this main routine.
docstring_tokens: Given the results of parseCmdLine () populate the ovars dict for this main routine .
function: def processCmdLine(ovars, opts, args):
      """Given the results of parseCmdLine(), populate the 'ovars' dict
      for this main routine."""
      # Get optional arguments: verbose, help
      if (opts.has_key('verbose') or opts.has_key('v')):
          ovars['verbose'] = True
      if (opts.has_key('debug') or opts.has_key('d')):
          ovars['debug'] = True
      if (opts.has_key('help') or opts.has_key('h')):
          raise UsageExcept(None)
  
      if (len(args) == 0):
          ovars['inputFileNm'] = None
      elif (len(args) == 1):
          ovars['inputFileNm'] = args[0]
      else:
          raise UsageExcept("Invalid number of arguments!")
function_tokens: def processCmdLine ( ovars , opts , args ) : # Get optional arguments: verbose, help if ( opts . has_key ( 'verbose' ) or opts . has_key ( 'v' ) ) : ovars [ 'verbose' ] = True if ( opts . has_key ( 'debug' ) or opts . has_key ( 'd' ) ) : ovars [ 'debug' ] = True if ( opts . has_key ( 'help' ) or opts . has_key ( 'h' ) ) : raise UsageExcept ( None ) if ( len ( args ) == 0 ) : ovars [ 'inputFileNm' ] = None elif ( len ( args ) == 1 ) : ovars [ 'inputFileNm' ] = args [ 0 ] else : raise UsageExcept ( "Invalid number of arguments!" )