From 510afcd647cce718dc25bd70179cb6fe6096113b Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 18 Aug 2017 09:45:16 -0400 Subject: [PATCH] bgpd: Fix bgp clear help string The bgp clear help string was misordered. New output: robot.cumulusnetworks.com# clear bgp (1-4294967295) Clear peers with the AS number * Clear all peers A.B.C.D BGP neighbor address to clear WORD BGP neighbor on interface to clear X:X::X:X BGP IPv6 neighbor to clear external Clear all external peers ipv4 Address Family ipv6 Address Family peer-group Clear all members of peer-group prefix Clear bestpath and re-advertise view BGP view vrf BGP VRF Fixes: #1005 Signed-off-by: Donald Sharp --- bgpd/bgp_vty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index 01c27920f5..2e18a6d44f 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -6145,6 +6145,8 @@ DEFUN (clear_ip_bgp_all, IP_STR BGP_STR BGP_INSTANCE_HELP_STR + BGP_AFI_HELP_STR + BGP_SAFI_WITH_LABEL_HELP_STR "Clear all peers\n" "BGP neighbor address to clear\n" "BGP IPv6 neighbor to clear\n" @@ -6153,8 +6155,6 @@ DEFUN (clear_ip_bgp_all, "Clear all external peers\n" "Clear all members of peer-group\n" "BGP peer-group name\n" - BGP_AFI_HELP_STR - BGP_SAFI_WITH_LABEL_HELP_STR BGP_SOFT_STR BGP_SOFT_IN_STR BGP_SOFT_OUT_STR -- 2.39.5