[ovs-dev] [PATCH] ovs-ofctl: Export the command option '--no-names'

Tonghao Zhang xiangxia.m.yue at gmail.com
Wed Apr 4 09:30:09 UTC 2018

By default, ovs-ofctl can accept and display port
names in place of numbers. ovs-ofctl tool exports
only the option --names, but not --no-names in
command help information.

Fixes: 50f96b10e1c8 ("Support accepting and displaying port names in OVS tools.")
Cc: Ben Pfaff <blp at ovn.org>
Signed-off-by: Tonghao Zhang <xiangxia.m.yue at gmail.com>
 utilities/ovs-ofctl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/utilities/ovs-ofctl.c b/utilities/ovs-ofctl.c
index 386e4f0..c637649 100644
--- a/utilities/ovs-ofctl.c
+++ b/utilities/ovs-ofctl.c
@@ -514,6 +514,7 @@ usage(void)
            "  --sort[=field]              sort in ascending order\n"
            "  --rsort[=field]             sort in descending order\n"
            "  --names                     show port names instead of numbers\n"
+           "  --no-names                  show port numbers, but not names\n"
            "  --unixctl=SOCKET            set control socket name\n"
            "  --color[=always|never|auto] control use of color in output\n"
            "  -h, --help                  display this help message\n"

More information about the dev mailing list