Skip to contentSkip to conversation

allow batch gets of actions

PATCH New Jamal Hadi Salim 1 participant 1 message Dec 22, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 allow batch gets of actions

Attached.

cheers,
jamal

commit c5f30cabef14c951596210b96bc9b423b0d39592

Author: Jamal Hadi Salim <[email protected]>
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 <[email protected]>
tc/m_action.c +1 -0
index 4acabef..51085ec 100644
@@ -144,6 +144,7 @@ new_cmd(char **argv)
 	if ((matches(*argv, "change") == 0) ||
 		(matches(*argv, "replace") == 0)||
 		(matches(*argv, "delete") == 0)||
+		(matches(*argv, "get") == 0)||
 		(matches(*argv, "add") == 0))
 			return 1;