allow batch gets of actions
Attached.
cheers,
jamal
commit c5f30cabef14c951596210b96bc9b423b0d39592
Author: Jamal Hadi Salim <hadi@mojatatu.com>
Date: Sun Dec 22 10:24:17 2013 -0500
Allow batching of action gets
Example:
----
tc actions get \
action gact index 100 \
action gact index 4
----
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
diff --git a/tc/m_action.c b/tc/m_action.c
index 4acabef..51085ec 100644
--- a/tc/m_action.c
+++ b/tc/m_action.c
@@ -144,6 +144,7 @@
if ((matches(*argv, "change") == 0) ||
(matches(*argv, "replace") == 0)||
(matches(*argv, "delete") == 0)||
+ (matches(*argv, "get") == 0)||
(matches(*argv, "add") == 0))
return 1;