summaryrefslogtreecommitdiff
path: root/src/cli_def.l
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-08-18 13:33:43 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-08-18 13:33:43 -0700
commit14df7aa3c937ed8907bd7e9b2657526233691803 (patch)
tree77e876ba2739e7fe396e93b8fd908df845d60d51 /src/cli_def.l
parentabc2986d38f4b6f7a7ccc0fd3fb10e4f21652209 (diff)
parent3594ffa9f1c62d5f73d12b35f81a862c762b5d44 (diff)
downloadvyatta-cfg-14df7aa3c937ed8907bd7e9b2657526233691803.tar.gz
vyatta-cfg-14df7aa3c937ed8907bd7e9b2657526233691803.zip
Merge branch 'mendocino' of suva.vyatta.com:/git/vyatta-cfg into mendocino
Diffstat (limited to 'src/cli_def.l')
-rw-r--r--src/cli_def.l7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/cli_def.l b/src/cli_def.l
index 86e5c98..806112f 100644
--- a/src/cli_def.l
+++ b/src/cli_def.l
@@ -25,16 +25,19 @@ static int reg_fields_t[] = { DEFAULT, TAG, TYPE, MULTI, PRIORITY, 0 };
static char *act_fields[] = { "help", "syntax", "commit",
"delete", "update", "activate", "create",
"begin", "end",
+ "enumeration",
"comp_help", "allowed", "val_help",
NULL };
static int act_fields_t[] = { HELP, SYNTAX, COMMIT,
ACTION, ACTION, ACTION, ACTION,
ACTION, ACTION,
- DUMMY, DUMMY, DUMMY,
+ ENUMERATION,
+ CHELP, ALLOWED, VHELP,
0 };
static int act_types[] = { -1, -1, -1,
delete_act, update_act, activate_act, create_act,
begin_act, end_act,
+ -1,
-1, -1, -1,
-1 };
@@ -266,7 +269,7 @@ RE_OP_OTHER (pattern|exec|,|\|\||&&|=|!|\(|\)|;)
/* template fields */
RE_REG_FIELD (default|tag|type|multi|priority)
-RE_ACT_FIELD (help|syntax|commit|delete|update|activate|create|begin|end|comp_help|allowed|val_help)
+RE_ACT_FIELD (help|syntax|commit|delete|update|activate|create|begin|end|enumeration|comp_help|allowed|val_help)
%%