summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-06-08 10:25:02 +0000
committerMartin Mares <mj@ucw.cz>2000-06-08 10:25:02 +0000
commitec423cc725d4b097e596dbadd84f3dea40deb0b8 (patch)
tree29619ec0274cbf83831acb0c79528d2a8f9a33fe /nest
parent5a203dac615369806dc6eee0418ea39c597bea41 (diff)
Updated CLI helps.
Diffstat (limited to 'nest')
-rw-r--r--nest/config.Y8
1 files changed, 4 insertions, 4 deletions
diff --git a/nest/config.Y b/nest/config.Y
index 9454e622..67fb2481 100644
--- a/nest/config.Y
+++ b/nest/config.Y
@@ -244,7 +244,7 @@ CF_CLI(SHOW INTERFACES,,, [[Show network interfaces]])
CF_CLI(SHOW INTERFACES SUMMARY,,, [[Show summary of network interfaces]])
{ if_show_summary(); } ;
-CF_CLI(SHOW ROUTE, r_args, [<prefix>] [table <t>] [filter <f>] [all] [primary] [(import|protocol) <p>] [stats], [[Show routing table]])
+CF_CLI(SHOW ROUTE, r_args, [[for] <prefix>|<ip>] [table <t>] [filter <f>|where <cond>] [all] [primary] [(import|protocol) <p>] [stats|count], [[Show routing table]])
{ rt_show($3); } ;
r_args:
@@ -353,11 +353,11 @@ echo_size:
}
;
-CF_CLI(DISABLE, proto_patt, <protocol> | <pattern> | all, [[Disable protocol]])
+CF_CLI(DISABLE, proto_patt, <protocol> | "<pattern>" | all, [[Disable protocol]])
{ proto_xxable($2, 0); } ;
-CF_CLI(ENABLE, proto_patt, <protocol> | <pattern> | all, [[Enable protocol]])
+CF_CLI(ENABLE, proto_patt, <protocol> | "<pattern>" | all, [[Enable protocol]])
{ proto_xxable($2, 1); } ;
-CF_CLI(RESTART, proto_patt, <protocol> | <pattern> | all, [[Restart protocol]])
+CF_CLI(RESTART, proto_patt, <protocol> | "<pattern>" | all, [[Restart protocol]])
{ proto_xxable($2, 2); } ;
CF_CLI_HELP(DEBUG, ..., [[Control protocol debugging]])