command-line: Add function to print all options.
authorAlex Wang <alexw@nicira.com>
Fri, 12 Sep 2014 00:24:35 +0000 (17:24 -0700)
committerAlex Wang <alexw@nicira.com>
Wed, 29 Oct 2014 01:33:10 +0000 (18:33 -0700)
commit66fa2c884fe9aee48217a76189a148bf215e0f5d
tree4ef6bce4bef9ea40be3ec4ef9572e229d2c78a02
parentee4dac3bb6dcef43c51f7ddf3ad954eab4c9ed0f
command-line: Add function to print all options.

This commit adds a function that prints (both long and short)
options of a ovs-* command.  To use this function, option
'--option' is added to ovs-appctl/dpctl/ofctl and ovsdb-tool
commands.  A future patch will use the option output to
conduct bash command-line completion.

Signed-off-by: Alex Wang <alexw@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/command-line.c
lib/command-line.h
ovsdb/ovsdb-tool.c
utilities/ovs-appctl.c
utilities/ovs-dpctl.c
utilities/ovs-ofctl.c