parameters: (argv)
docstring: Parse 'info' command arguments and run command
      Will cause a system exit if command-line argument parsing fails.
      @param argv: command-line arguments
      @type  argv: [str]
      @raise ROSServiceException: if list command cannot be executed
docstring_summary: Parse 'info' command arguments and run command
      Will cause a system exit if command-line argument parsing fails.
docstring_tokens: Parse info command arguments and run command Will cause a system exit if command - line argument parsing fails .
function: def _rosservice_cmd_info(argv):
      """
      Parse 'info' command arguments and run command
      Will cause a system exit if command-line argument parsing fails.
      @param argv: command-line arguments
      @type  argv: [str]
      @raise ROSServiceException: if list command cannot be executed
      """
      args = argv[2:]
      parser = OptionParser(usage="usage: %prog info /service", prog=NAME)
      (options, args) = parser.parse_args(args)
  
      name = None
      if len(args) == 1:
          name = rosgraph.names.script_resolve_name('rosservice', args[0])
      elif len(args) > 1:
          parser.error("you may only specify one service")
      elif not len(args):
          parser.error("you must specify a service name")
      _rosservice_info(name)
function_tokens: def _rosservice_cmd_info ( argv ) : args = argv [ 2 : ] parser = OptionParser ( usage = "usage: %prog info /service" , prog = NAME ) ( options , args ) = parser . parse_args ( args ) name = None if len ( args ) == 1 : name = rosgraph . names . script_resolve_name ( 'rosservice' , args [ 0 ] ) elif len ( args ) > 1 : parser . error ( "you may only specify one service" ) elif not len ( args ) : parser . error ( "you must specify a service name" ) _rosservice_info ( name )