]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Updated CLI helps.
authorMartin Mares <mj@ucw.cz>
Thu, 8 Jun 2000 10:25:02 +0000 (10:25 +0000)
committerMartin Mares <mj@ucw.cz>
Thu, 8 Jun 2000 10:25:02 +0000 (10:25 +0000)
nest/config.Y
proto/ospf/config.Y
sysdep/unix/config.Y

index 9454e62276ccfcd8c536ec17a826a0526f4cb1de..67fb2481c445c09cfde851bcaa69ed73aff1e0b9 100644 (file)
@@ -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]])
index b5f46eada2f7dec176f70b8416cf2cc53f5ba0ca..c78023809c681283415f72288d239c9c425a1163 100644 (file)
@@ -151,13 +151,13 @@ CF_ADDTO(dynamic_attr, OSPF_METRIC1 { $$ = f_new_dynamic_attr(EAF_TYPE_INT | EAF
 CF_ADDTO(dynamic_attr, OSPF_METRIC2 { $$ = f_new_dynamic_attr(EAF_TYPE_INT | EAF_TEMP, T_INT, EA_OSPF_METRIC2); })
 CF_ADDTO(dynamic_attr, OSPF_TAG { $$ = f_new_dynamic_attr(EAF_TYPE_INT | EAF_TEMP, T_INT, EA_OSPF_TAG); })
 
-CF_CLI(SHOW OSPF, optsym, [<name>], [[Show information about ospf protocol]])
+CF_CLI(SHOW OSPF, optsym, [<name>], [[Show information about OSPF protocol]])
 { ospf_sh(proto_get_named($3, &proto_ospf)); } ;
 
-CF_CLI(SHOW OSPF NEIGHBORS, optsym opttext, [<name>] [\"<interface>\"], [[Show information about ospf neighbors]])
+CF_CLI(SHOW OSPF NEIGHBORS, optsym opttext, [<name>] [\"<interface>\"], [[Show information about OSPF neighbors]])
 { ospf_sh_neigh(proto_get_named($4, &proto_ospf), $5); } ;
 
-CF_CLI(SHOW OSPF INTERFACE, optsym opttext, [<name>] [\"<interface>\"], [[Show infomation about interface]])
+CF_CLI(SHOW OSPF INTERFACE, optsym opttext, [<name>] [\"<interface>\"], [[Show information about interface]])
 { ospf_sh_iface(proto_get_named($4, &proto_ospf), $5); };
 
 CF_CODE
index 320c1549606881c61d490395a5d6afe6fc721e34..81453e360d912e0178d8cd0e456db02b8cfa6f24 100644 (file)
@@ -64,7 +64,7 @@ log_cat:
 
 /* Unix specific commands */
 
-CF_CLI(CONFIGURE, cfg_name, [<file>], [[Reload configuration]])
+CF_CLI(CONFIGURE, cfg_name, ["<file>"], [[Reload configuration]])
 { cmd_reconfig($2); } ;
 
 CF_CLI(DOWN,,, [[Shut the daemon down]])