diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cli_def.l | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cli_def.l b/src/cli_def.l index 0b4e5b0..86e5c98 100644 --- a/src/cli_def.l +++ b/src/cli_def.l @@ -25,17 +25,17 @@ static int reg_fields_t[] = { DEFAULT, TAG, TYPE, MULTI, PRIORITY, 0 }; static char *act_fields[] = { "help", "syntax", "commit", "delete", "update", "activate", "create", "begin", "end", - "comp_help", "allowed", + "comp_help", "allowed", "val_help", NULL }; static int act_fields_t[] = { HELP, SYNTAX, COMMIT, ACTION, ACTION, ACTION, ACTION, ACTION, ACTION, - DUMMY, DUMMY, + DUMMY, DUMMY, DUMMY, 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, -1 }; static char *type_names[] = { "txt", "u32", "ipv4", "ipv4net", @@ -266,7 +266,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) +RE_ACT_FIELD (help|syntax|commit|delete|update|activate|create|begin|end|comp_help|allowed|val_help) %% |