summaryrefslogtreecommitdiff
path: root/utilities/ovs-dpctl.c
diff options
context:
space:
mode:
authorGurucharan Shetty <gshetty@nicira.com>2013-09-24 10:23:49 -0700
committerGurucharan Shetty <gshetty@nicira.com>2013-09-24 15:57:43 -0700
commit2e6d002d967ffe795cda2f8c2cca15d3592f411f (patch)
tree6d070ac1ec0c9d6d46388a68fbe52a7eda806d28 /utilities/ovs-dpctl.c
parentc46c613a9a31be1684358ae97f11bd6383233955 (diff)
downloadopenvswitch-2e6d002d967ffe795cda2f8c2cca15d3592f411f.tar.gz
ovs-dpctl: Update usage where datapath name is optional.
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'utilities/ovs-dpctl.c')
-rw-r--r--utilities/ovs-dpctl.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/utilities/ovs-dpctl.c b/utilities/ovs-dpctl.c
index 43c0db645..98b47b8d7 100644
--- a/utilities/ovs-dpctl.c
+++ b/utilities/ovs-dpctl.c
@@ -167,14 +167,16 @@ usage(void)
" dump-dps display names of all datapaths\n"
" show show basic info on all datapaths\n"
" show DP... show basic info on each DP\n"
- " dump-flows DP display flows in DP\n"
- " add-flow DP FLOW ACTIONS add FLOW with ACTIONS to DP\n"
- " mod-flow DP FLOW ACTIONS change FLOW actions to ACTIONS in DP\n"
- " del-flow DP FLOW delete FLOW from DP\n"
- " del-flows DP delete all flows from DP\n"
+ " dump-flows [DP] display flows in DP\n"
+ " add-flow [DP] FLOW ACTIONS add FLOW with ACTIONS to DP\n"
+ " mod-flow [DP] FLOW ACTIONS change FLOW actions to ACTIONS in DP\n"
+ " del-flow [DP] FLOW delete FLOW from DP\n"
+ " del-flows [DP] delete all flows from DP\n"
"Each IFACE on add-dp, add-if, and set-if may be followed by\n"
"comma-separated options. See ovs-dpctl(8) for syntax, or the\n"
- "Interface table in ovs-vswitchd.conf.db(5) for an options list.\n",
+ "Interface table in ovs-vswitchd.conf.db(5) for an options list.\n"
+ "For COMMAND dump-flows, add-flow, mod-flow, del-flow and\n"
+ "del-flows, DP is optional if there is only one datapath.\n",
program_name, program_name);
vlog_usage();
printf("\nOptions for show and mod-flow:\n"