chrome/updater/test/service/win/service_client.py
def ParseCommandLine():
  """Parse the command line arguments."""
  cmd_parser = argparse.ArgumentParser(
      description='Updater test service client')

  cmd_parser.add_argument(
      '--function',
      dest='function',
      type=str,
      help='Name of the function to call, defined in rpc_client.py')
  cmd_parser.add_argument(
      '--args',
      dest='args',
      type=json.loads,
      help='Arguments to the function, in json format.')
  return cmd_parser.parse_args()
Parse the command line arguments.
Parse the command line arguments.
Parse the command line arguments .
def ParseCommandLine():
  cmd_parser = argparse.ArgumentParser(
      description='Updater test service client')
  cmd_parser.add_argument(
      '--function',
      dest='function',
      type=str,
      help='Name of the function to call, defined in rpc_client.py')
  cmd_parser.add_argument(
      '--args',
      dest='args',
      type=json.loads,
      help='Arguments to the function, in json format.')
  return cmd_parser.parse_args()
def ParseCommandLine ( ) : cmd_parser = argparse . ArgumentParser ( description = 'Updater test service client' ) cmd_parser . add_argument ( '--function' , dest = 'function' , type = str , help = 'Name of the function to call, defined in rpc_client.py' ) cmd_parser . add_argument ( '--args' , dest = 'args' , type = json . loads , help = 'Arguments to the function, in json format.' ) return cmd_parser . parse_args ( )
Parse the command line arguments.
Parse the command line arguments .
"""Parse the command line arguments."""