From: Ben Pfaff Date: Wed, 30 Nov 2011 21:07:38 +0000 (-0800) Subject: ovs-ofctl: Improve usage message. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2daadadd2f70c65447e067ed34ebfa5dacb06c71;p=openvswitch ovs-ofctl: Improve usage message. TARGET and SWITCH are different because TARGET can refer to a switch or a controller whereas SWITCH must be a switch, but TARGET wasn't defined before. Also, TARGET seems a little more user-friendly than the VCONN that was used here before. Reported-by: Reid Price Bug #7736. --- diff --git a/utilities/ovs-ofctl.c b/utilities/ovs-ofctl.c index 7b2b1860..cf77300d 100644 --- a/utilities/ovs-ofctl.c +++ b/utilities/ovs-ofctl.c @@ -187,10 +187,10 @@ usage(void) " replace-flows SWITCH FILE replace flows with those in FILE\n" " monitor SWITCH [MISSLEN] print packets received from SWITCH\n" "\nFor OpenFlow switches and controllers:\n" - " probe VCONN probe whether VCONN is up\n" - " ping VCONN [N] latency of N-byte echos\n" - " benchmark VCONN N COUNT bandwidth of COUNT N-byte echos\n" - "where each SWITCH is an active OpenFlow connection method.\n", + " probe TARGET probe whether TARGET is up\n" + " ping TARGET [N] latency of N-byte echos\n" + " benchmark TARGET N COUNT bandwidth of COUNT N-byte echos\n" + "where SWITCH or TARGET is an active OpenFlow connection method.\n", program_name, program_name); vconn_usage(true, false, false); vlog_usage();