Message ID | 1522834209-123290-1-git-send-email-xiangxia.m.yue@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [ovs-dev] ovs-ofctl: Export the command option '--no-names' | expand |
On Wed, Apr 04, 2018 at 02:30:09AM -0700, Tonghao Zhang wrote: > 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@ovn.org> > Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com> I applied this to master and branch-2.9.
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"
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@ovn.org> Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com> --- utilities/ovs-ofctl.c | 1 + 1 file changed, 1 insertion(+)