+ "help": (parser.print_help, (0,))}
+
+ group_description = """\
+listen LOCAL listen for connections on LOCAL
+request REMOTE METHOD PARAMS send request, print reply
+notify REMOTE METHOD PARAMS send notification and exit
+""" + ovs.stream.usage("JSON-RPC")
+
+ group = parser.add_argument_group(title="Commands",
+ description=group_description)
+ group.add_argument('command', metavar="COMMAND", nargs=1,
+ choices=commands, help="Command to use.")
+ group.add_argument('command_args', metavar="ARG", nargs='*',
+ help="Arguments to COMMAND.")
+
+ ovs.daemon.add_args(parser)
+ args = parser.parse_args()
+ ovs.daemon.handle_args(args)
+
+ command_name = args.command[0]
+ args = args.command_args