]> git.puffer.fish Git - matthieu/frr.git/commitdiff
*: add missing \n in some help strings
authorRenato Westphal <renato@opensourcerouting.org>
Sat, 21 Oct 2017 00:16:57 +0000 (22:16 -0200)
committerRenato Westphal <renato@opensourcerouting.org>
Tue, 24 Oct 2017 21:30:30 +0000 (19:30 -0200)
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
13 files changed:
bgpd/bgp_vty.c
bgpd/rfp-example/librfp/rfp_example.c
eigrpd/eigrp_vty.c
isisd/isisd.c
lib/command.c
lib/keychain.c
nhrpd/nhrp_vty.c
ospfd/ospf_ri.c
ospfd/ospf_vty.c
zebra/debug.c
zebra/interface.c
zebra/zebra_pw.c
zebra/zserv.c

index 02a194050cc65e91310d5d245761fcb0aa8c7bd3..749c9d25d42d9ce3c471e550c44b993da3dd5070 100644 (file)
@@ -3794,7 +3794,7 @@ DEFUN (neighbor_remove_private_as_all,
        NEIGHBOR_STR
        NEIGHBOR_ADDR_STR2
        "Remove private ASNs in outbound updates\n"
-       "Apply to all AS numbers")
+       "Apply to all AS numbers\n")
 {
        int idx_peer = 1;
        return peer_af_flag_set_vty(vty, argv[idx_peer]->arg, bgp_node_afi(vty),
@@ -5733,7 +5733,7 @@ DEFUN (neighbor_maximum_prefix_restart,
        "Maximum number of prefix accept from this peer\n"
        "maximum no. of prefix limit\n"
        "Restart bgp connection after limit is exceeded\n"
-       "Restart interval in minutes")
+       "Restart interval in minutes\n")
 {
        int idx_peer = 1;
        int idx_number = 3;
@@ -5751,7 +5751,7 @@ ALIAS_HIDDEN(
        "Maximum number of prefix accept from this peer\n"
        "maximum no. of prefix limit\n"
        "Restart bgp connection after limit is exceeded\n"
-       "Restart interval in minutes")
+       "Restart interval in minutes\n")
 
 DEFUN (neighbor_maximum_prefix_threshold_restart,
        neighbor_maximum_prefix_threshold_restart_cmd,
index fb112a8865e985da77702c0c3f68839029491460..cde2d7b3523123b1dd2ee60e826c2a4e3c7e69e4 100644 (file)
@@ -42,7 +42,7 @@ DEFUN (rfp_example_config_value,
        "rfp example-config-value VALUE",
        RFP_SHOW_STR
        "Example value to be configured\n"
-       "Value to display")
+       "Value to display\n")
 {
        uint32_t value = 0;
        struct rfp_instance_t *rfi = NULL;
index 34a07f5fe30e802614336c99019473f159a05cb3..5fc78181668ffab168c13a18c5d5eff8e98fdfce 100644 (file)
@@ -870,11 +870,10 @@ DEFUN (no_eigrp_ip_summary_address,
 DEFUN (no_eigrp_if_ip_holdinterval,
        no_eigrp_if_ip_holdinterval_cmd,
        "no ip hold-time eigrp",
-       "No"
+       NO_STR
        "Interface Internet Protocol config commands\n"
        "Configures EIGRP hello interval\n"
-       "Enhanced Interior Gateway Routing Protocol (EIGRP)\n"
-       "Seconds before neighbor is considered down\n")
+       "Enhanced Interior Gateway Routing Protocol (EIGRP)\n")
 {
        VTY_DECLVAR_CONTEXT(interface, ifp);
        struct eigrp_interface *ei = ifp->info;
index 5dd348089dac4e4fb193ba7b11f7a21ce6cd2594..d4e5a4e29b59f98de0fad297a586ff6127c4fb14 100644 (file)
@@ -1509,7 +1509,7 @@ DEFUN_NOSH (router_isis,
        "router isis WORD",
        ROUTER_STR
        "ISO IS-IS\n"
-       "ISO Routing area tag")
+       "ISO Routing area tag\n")
 {
        int idx_word = 2;
        return isis_area_get(vty, argv[idx_word]->arg);
index 97eba96c3a7f0a50edf71479b00838d8057336ad..2e91d84bf3b304fdcf76340eea015b5c46376d0d 100644 (file)
@@ -1367,7 +1367,7 @@ DEFUN (config_quit,
 DEFUN (config_end,
        config_end_cmd,
        "end",
-       "End current mode and change to enable mode.")
+       "End current mode and change to enable mode.\n")
 {
        switch (vty->node) {
        case VIEW_NODE:
index 23a2d72b17a638097ecd66aa522f5f378141a1ec..bb2c17335429cd2866b474291d5cc0ed71f6eae7 100644 (file)
@@ -633,7 +633,7 @@ DEFUN (accept_lifetime_infinite_day_month,
        "Day of th month to start\n"
        "Month of the year to start\n"
        "Year to start\n"
-       "Never expires")
+       "Never expires\n")
 {
        int idx_hhmmss = 1;
        int idx_number = 2;
@@ -654,7 +654,7 @@ DEFUN (accept_lifetime_infinite_month_day,
        "Month of the year to start\n"
        "Day of th month to start\n"
        "Year to start\n"
-       "Never expires")
+       "Never expires\n")
 {
        int idx_hhmmss = 1;
        int idx_month = 2;
@@ -843,7 +843,7 @@ DEFUN (send_lifetime_infinite_day_month,
        "Day of th month to start\n"
        "Month of the year to start\n"
        "Year to start\n"
-       "Never expires")
+       "Never expires\n")
 {
        int idx_hhmmss = 1;
        int idx_number = 2;
@@ -864,7 +864,7 @@ DEFUN (send_lifetime_infinite_month_day,
        "Month of the year to start\n"
        "Day of th month to start\n"
        "Year to start\n"
-       "Never expires")
+       "Never expires\n")
 {
        int idx_hhmmss = 1;
        int idx_month = 2;
index ab052ac04a141e4cf7156322cf2d3ea72db2fb87..e0d0268e41e08f7683db0b4f8603e36a7cfed542 100644 (file)
@@ -438,7 +438,7 @@ DEFUN(if_nhrp_mtu, if_nhrp_mtu_cmd,
        NHRP_STR
        "Configure NHRP advertised MTU\n"
        "MTU value\n"
-       "Advertise bound interface MTU similar to OpenNHRP")
+       "Advertise bound interface MTU similar to OpenNHRP\n")
 {
        VTY_DECLVAR_CONTEXT(interface, ifp);
        struct nhrp_interface *nifp = ifp->info;
@@ -461,7 +461,7 @@ DEFUN(if_no_nhrp_mtu, if_no_nhrp_mtu_cmd,
        NHRP_STR
        "Configure NHRP advertised MTU\n"
        "MTU value\n"
-       "Advertise bound interface MTU similar to OpenNHRP")
+       "Advertise bound interface MTU similar to OpenNHRP\n")
 {
        VTY_DECLVAR_CONTEXT(interface, ifp);
        struct nhrp_interface *nifp = ifp->info;
index 69f688318654be787a66c784bbe3e2a65a934307..ead6923435399ac3018a97a108df0a0bdb6049a1 100644 (file)
@@ -1119,7 +1119,7 @@ DEFUN (router_info,
        OSPF_RI_STR
        "Enable the Router Information functionality with AS flooding scope\n"
        "Enable the Router Information functionality with Area flooding scope\n"
-       "OSPF area ID in IP format")
+       "OSPF area ID in IP format\n")
 {
        int idx_ipv4 = 2;
        char *area = (argc == 3) ? argv[idx_ipv4]->arg : NULL;
index df3cd16c1c5b32c2b6e011d83187d0280e5dd672..f349979d187537948ff0e0f430880b5a326d3d26 100644 (file)
@@ -6243,7 +6243,7 @@ DEFUN (ip_ospf_authentication,
        "IP Information\n"
        "OSPF interface commands\n"
        "Enable authentication on this interface\n"
-       "Address of interface")
+       "Address of interface\n")
 {
        VTY_DECLVAR_CONTEXT(interface, ifp);
        int idx_ipv4 = 3;
@@ -6280,7 +6280,7 @@ DEFUN (no_ip_ospf_authentication_args,
        "Enable authentication on this interface\n"
        "Use null authentication\n"
        "Use message-digest authentication\n"
-       "Address of interface")
+       "Address of interface\n")
 {
        VTY_DECLVAR_CONTEXT(interface, ifp);
        int idx_encryption = 4;
@@ -6360,7 +6360,7 @@ DEFUN (no_ip_ospf_authentication,
        "IP Information\n"
        "OSPF interface commands\n"
        "Enable authentication on this interface\n"
-       "Address of interface")
+       "Address of interface\n")
 {
        VTY_DECLVAR_CONTEXT(interface, ifp);
        int idx_ipv4 = 4;
@@ -6437,7 +6437,7 @@ DEFUN (ip_ospf_authentication_key,
        "OSPF interface commands\n"
        "Authentication password (key)\n"
        "The OSPF password (key)\n"
-       "Address of interface")
+       "Address of interface\n")
 {
        VTY_DECLVAR_CONTEXT(interface, ifp);
        int idx = 0;
@@ -6649,7 +6649,9 @@ DEFUN_HIDDEN (no_ospf_message_digest_key,
               "OSPF interface commands\n"
               "Message digest authentication password (key)\n"
               "Key ID\n"
-              "Address of interface")
+              "Use MD5 algorithm\n"
+              "The OSPF password (key)\n"
+              "Address of interface\n")
 {
        return no_ip_ospf_message_digest_key(self, vty, argc, argv);
 }
@@ -6712,9 +6714,11 @@ DEFUN (no_ip_ospf_cost,
        no_ip_ospf_cost_cmd,
        "no ip ospf cost [(1-65535)] [A.B.C.D]",
        NO_STR
+       "IP Information\n"
        "OSPF interface commands\n"
        "Interface cost\n"
-       "Address of interface")
+       "Cost\n"
+       "Address of interface\n")
 {
        VTY_DECLVAR_CONTEXT(interface, ifp);
        int idx = 0;
@@ -6907,7 +6911,10 @@ DEFUN (no_ip_ospf_dead_interval,
        "OSPF interface commands\n"
        "Interval time after which a neighbor is declared down\n"
        "Seconds\n"
-       "Address of interface")
+       "Minimal 1s dead-interval with fast sub-second hellos\n"
+       "Hello multiplier factor\n"
+       "Number of Hellos to send each second\n"
+       "Address of interface\n")
 {
        VTY_DECLVAR_CONTEXT(interface, ifp);
        int idx_ipv4 = argc - 1;
@@ -6969,7 +6976,10 @@ DEFUN_HIDDEN (no_ospf_dead_interval,
               "OSPF interface commands\n"
               "Interval time after which a neighbor is declared down\n"
               "Seconds\n"
-              "Address of interface")
+              "Minimal 1s dead-interval with fast sub-second hellos\n"
+              "Hello multiplier factor\n"
+              "Number of Hellos to send each second\n"
+              "Address of interface\n")
 {
        return no_ip_ospf_dead_interval(self, vty, argc, argv);
 }
@@ -7198,7 +7208,7 @@ DEFUN (ip_ospf_priority,
        "OSPF interface commands\n"
        "Router priority\n"
        "Priority\n"
-       "Address of interface")
+       "Address of interface\n")
 {
        VTY_DECLVAR_CONTEXT(interface, ifp);
        int idx = 0;
@@ -7246,7 +7256,7 @@ DEFUN_HIDDEN (ospf_priority,
               "OSPF interface commands\n"
               "Router priority\n"
               "Priority\n"
-              "Address of interface")
+              "Address of interface\n")
 {
        return ip_ospf_priority(self, vty, argc, argv);
 }
@@ -7259,7 +7269,7 @@ DEFUN (no_ip_ospf_priority,
        "OSPF interface commands\n"
        "Router priority\n" // ignored
        "Priority\n"
-       "Address of interface")
+       "Address of interface\n")
 {
        VTY_DECLVAR_CONTEXT(interface, ifp);
        int idx = 0;
@@ -7311,7 +7321,7 @@ DEFUN_HIDDEN (no_ospf_priority,
               "OSPF interface commands\n"
               "Router priority\n"
               "Priority\n"
-              "Address of interface")
+              "Address of interface\n")
 {
        return no_ip_ospf_priority(self, vty, argc, argv);
 }
@@ -7323,7 +7333,7 @@ DEFUN (ip_ospf_retransmit_interval,
        "OSPF interface commands\n"
        "Time between retransmitting lost link state advertisements\n"
        "Seconds\n"
-       "Address of interface")
+       "Address of interface\n")
 {
        VTY_DECLVAR_CONTEXT(interface, ifp);
        int idx = 0;
@@ -7358,7 +7368,7 @@ DEFUN_HIDDEN (ospf_retransmit_interval,
               "OSPF interface commands\n"
               "Time between retransmitting lost link state advertisements\n"
               "Seconds\n"
-              "Address of interface")
+              "Address of interface\n")
 {
        return ip_ospf_retransmit_interval(self, vty, argc, argv);
 }
@@ -7422,7 +7432,7 @@ DEFUN (ip_ospf_transmit_delay,
        "OSPF interface commands\n"
        "Link state transmit delay\n"
        "Seconds\n"
-       "Address of interface")
+       "Address of interface\n")
 {
        VTY_DECLVAR_CONTEXT(interface, ifp);
        int idx = 0;
@@ -7457,7 +7467,7 @@ DEFUN_HIDDEN (ospf_transmit_delay,
               "OSPF interface commands\n"
               "Link state transmit delay\n"
               "Seconds\n"
-              "Address of interface")
+              "Address of interface\n")
 {
        return ip_ospf_transmit_delay(self, vty, argc, argv);
 }
@@ -7469,7 +7479,8 @@ DEFUN (no_ip_ospf_transmit_delay,
        "IP Information\n"
        "OSPF interface commands\n"
        "Link state transmit delay\n"
-       "Address of interface")
+       "Seconds\n"
+       "Address of interface\n")
 {
        VTY_DECLVAR_CONTEXT(interface, ifp);
        int idx = 0;
@@ -7509,7 +7520,7 @@ DEFUN_HIDDEN (no_ospf_transmit_delay,
               "OSPF interface commands\n"
               "Link state transmit delay\n"
               "Seconds\n"
-              "Address of interface")
+              "Address of interface\n")
 {
        return no_ip_ospf_transmit_delay(self, vty, argc, argv);
 }
@@ -8203,7 +8214,7 @@ DEFUN (ip_ospf_mtu_ignore,
        "IP Information\n"
        "OSPF interface commands\n"
        "Disable MTU mismatch detection on this interface\n"
-       "Address of interface")
+       "Address of interface\n")
 {
        VTY_DECLVAR_CONTEXT(interface, ifp);
        int idx_ipv4 = 3;
@@ -8239,10 +8250,11 @@ DEFUN (ip_ospf_mtu_ignore,
 DEFUN (no_ip_ospf_mtu_ignore,
        no_ip_ospf_mtu_ignore_addr_cmd,
        "no ip ospf mtu-ignore [A.B.C.D]",
+       NO_STR
        "IP Information\n"
        "OSPF interface commands\n"
        "Disable MTU mismatch detection on this interface\n"
-       "Address of interface")
+       "Address of interface\n")
 {
        VTY_DECLVAR_CONTEXT(interface, ifp);
        int idx_ipv4 = 4;
index ac96051abd8505b7101b94794aa91be4e9158494..1df547a0230e5a9081daa54d43c9144dfa2acbfa 100644 (file)
@@ -138,7 +138,7 @@ DEFUN (debug_zebra_vxlan,
 DEFUN (debug_zebra_pw,
        debug_zebra_pw_cmd,
        "[no] debug zebra pseudowires",
-       "Negate a command or set its defaults\n"
+       NO_STR
        DEBUG_STR
        "Zebra configuration\n"
        "Debug option set for zebra pseudowires\n")
index e912b2dcf8473b8164209e1579c58602daaf418c..dd1050ee7f066659b91e5ee2d52bada7ad6698af 100644 (file)
@@ -2539,7 +2539,7 @@ DEFUN (no_ip_address,
        NO_STR
        "Interface Internet Protocol config commands\n"
        "Set the IP address of an interface\n"
-       "IP Address (e.g. 10.0.0.1/8)")
+       "IP Address (e.g. 10.0.0.1/8)\n")
 {
        int idx_ipv4_prefixlen = 3;
        VTY_DECLVAR_CONTEXT(interface, ifp);
index 0ca7e34b238ba0f148fc46bcc084601ec9c767ad..d3492fb41c1a11c689f21cd7ecd40bfb7b4ced8d 100644 (file)
@@ -436,7 +436,7 @@ DEFUN (show_pseudowires,
        "show mpls pseudowires",
        SHOW_STR
        MPLS_STR
-       "Pseudowires")
+       "Pseudowires\n")
 {
        struct zebra_vrf *zvrf;
        struct zebra_pw *pw;
index 6295de0c2e19fceff1ff3945e4f6c6e5e9dbb09f..15bfd37da8dfc83511d5229eccdd2647ac8c96cc 100644 (file)
@@ -2800,7 +2800,7 @@ DEFUN (ip_forwarding,
        ip_forwarding_cmd,
        "ip forwarding",
        IP_STR
-       "Turn on IP forwarding")
+       "Turn on IP forwarding\n")
 {
        int ret;
 
@@ -2821,7 +2821,7 @@ DEFUN (no_ip_forwarding,
        "no ip forwarding",
        NO_STR
        IP_STR
-       "Turn off IP forwarding")
+       "Turn off IP forwarding\n")
 {
        int ret;
 
@@ -2967,7 +2967,7 @@ DEFUN (ipv6_forwarding,
        ipv6_forwarding_cmd,
        "ipv6 forwarding",
        IPV6_STR
-       "Turn on IPv6 forwarding")
+       "Turn on IPv6 forwarding\n")
 {
        int ret;
 
@@ -2988,7 +2988,7 @@ DEFUN (no_ipv6_forwarding,
        "no ipv6 forwarding",
        NO_STR
        IPV6_STR
-       "Turn off IPv6 forwarding")
+       "Turn off IPv6 forwarding\n")
 {
        int ret;