original_docstring: Parse Faucet/Gauge arguments.
  
      Returns:
          argparse.Namespace: command line arguments
      
docstring: Parse Faucet/Gauge arguments.
docstring_tokens: Parse Faucet / Gauge arguments .
code: def parse_args(sys_args):
      """Parse Faucet/Gauge arguments.
  
      Returns:
          argparse.Namespace: command line arguments
      """
  
      args = argparse.ArgumentParser(
          prog='faucet', description='Faucet SDN Controller')
      args.add_argument('--gauge', action='store_true', help='run Gauge instead')
      args.add_argument(
          '-v', '--verbose', action='store_true', help='produce verbose output')
      args.add_argument(
          '-V', '--version', action='store_true', help='print version and exit')
      args.add_argument(
          '--use-stderr', action='store_true', help='log to standard error')
      args.add_argument(
          '--use-syslog', action='store_true', help='output to syslog')
      args.add_argument(
          '--ryu-app-lists',
          action='append',
          help='add Ryu app (can be specified multiple times)',
          metavar='APP')
  
      for ryu_arg in RYU_OPTIONAL_ARGS:
          if len(ryu_arg) >= 3:
              args.add_argument(
                  '--ryu-%s' % ryu_arg[0],
                  help=ryu_arg[1],
                  default=ryu_arg[2])
          else:
              args.add_argument(
                  '--ryu-%s' % ryu_arg[0],
                  help=ryu_arg[1])
  
      return args.parse_args(sys_args)
code_tokens: def parse_args ( sys_args ) : args = argparse . ArgumentParser ( prog = 'faucet' , description = 'Faucet SDN Controller' ) args . add_argument ( '--gauge' , action = 'store_true' , help = 'run Gauge instead' ) args . add_argument ( '-v' , '--verbose' , action = 'store_true' , help = 'produce verbose output' ) args . add_argument ( '-V' , '--version' , action = 'store_true' , help = 'print version and exit' ) args . add_argument ( '--use-stderr' , action = 'store_true' , help = 'log to standard error' ) args . add_argument ( '--use-syslog' , action = 'store_true' , help = 'output to syslog' ) args . add_argument ( '--ryu-app-lists' , action = 'append' , help = 'add Ryu app (can be specified multiple times)' , metavar = 'APP' ) for ryu_arg in RYU_OPTIONAL_ARGS : if len ( ryu_arg ) >= 3 : args . add_argument ( '--ryu-%s' % ryu_arg [ 0 ] , help = ryu_arg [ 1 ] , default = ryu_arg [ 2 ] ) else : args . add_argument ( '--ryu-%s' % ryu_arg [ 0 ] , help = ryu_arg [ 1 ] ) return args . parse_args ( sys_args )
short_docstring: Parse Faucet/Gauge arguments.
short_docstring_tokens: Parse Faucet / Gauge arguments .
comment: """Parse Faucet/Gauge arguments.
  
      Returns:
          argparse.Namespace: command line arguments
      """