[ovs-dev] [PATCH V9 24/31] dpctl: Add filter arg to dump-flows command info

Roi Dayan roid at mellanox.com
Sun May 28 12:00:06 UTC 2017


This is for it to appear in bash completion.

Signed-off-by: Roi Dayan <roid at mellanox.com>
---
 lib/dpctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/dpctl.c b/lib/dpctl.c
index 11be857..d3d97d5 100644
--- a/lib/dpctl.c
+++ b/lib/dpctl.c
@@ -1554,7 +1554,7 @@ static const struct dpctl_command all_commands[] = {
     { "set-if", "dp iface...", 2, INT_MAX, dpctl_set_if, DP_RW },
     { "dump-dps", "", 0, 0, dpctl_dump_dps, DP_RO },
     { "show", "[dp...]", 0, INT_MAX, dpctl_show, DP_RO },
-    { "dump-flows", "[dp]", 0, 2, dpctl_dump_flows, DP_RO },
+    { "dump-flows", "[dp] [filter=..]", 0, 2, dpctl_dump_flows, DP_RO },
     { "add-flow", "[dp] flow actions", 2, 3, dpctl_add_flow, DP_RW },
     { "mod-flow", "[dp] flow actions", 2, 3, dpctl_mod_flow, DP_RW },
     { "get-flow", "[dp] ufid", 1, 2, dpctl_get_flow, DP_RO },
-- 
2.7.4



More information about the dev mailing list