From ec423cc725d4b097e596dbadd84f3dea40deb0b8 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 8 Jun 2000 10:25:02 +0000 Subject: Updated CLI helps. --- nest/config.Y | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nest/config.Y') diff --git a/nest/config.Y b/nest/config.Y index 9454e62..67fb248 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, [] [table ] [filter ] [all] [primary] [(import|protocol)

] [stats], [[Show routing table]]) +CF_CLI(SHOW ROUTE, r_args, [[for] |] [table ] [filter |where ] [all] [primary] [(import|protocol)

] [stats|count], [[Show routing table]]) { rt_show($3); } ; r_args: @@ -353,11 +353,11 @@ echo_size: } ; -CF_CLI(DISABLE, proto_patt, | | all, [[Disable protocol]]) +CF_CLI(DISABLE, proto_patt, | "" | all, [[Disable protocol]]) { proto_xxable($2, 0); } ; -CF_CLI(ENABLE, proto_patt, | | all, [[Enable protocol]]) +CF_CLI(ENABLE, proto_patt, | "" | all, [[Enable protocol]]) { proto_xxable($2, 1); } ; -CF_CLI(RESTART, proto_patt, | | all, [[Restart protocol]]) +CF_CLI(RESTART, proto_patt, | "" | all, [[Restart protocol]]) { proto_xxable($2, 2); } ; CF_CLI_HELP(DEBUG, ..., [[Control protocol debugging]]) -- cgit v1.2.3