]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: minor fix for shutdown cli commands
authorDavid Schweizer <dschweizer@opensourcerouting.org>
Mon, 24 Aug 2020 11:33:39 +0000 (13:33 +0200)
committerDavid Schweizer <dschweizer@opensourcerouting.org>
Mon, 24 Aug 2020 11:33:39 +0000 (13:33 +0200)
* Changed command description string to use "Remove" instead of
  "Disable" to prevent user confusion due to double negation.

Signed-off-by: David Schweizer <dschweizer@opensourcerouting.org>
bgpd/bgp_vty.c

index 3083e8d354f3fc987d4254d735b2b13be05752c4..db0a5820f3e6b146e8de29adf6a3f4b62fed90b9 100644 (file)
@@ -3630,7 +3630,7 @@ DEFPY(bgp_shutdown, bgp_shutdown_cmd, "bgp shutdown",
 }
 
 DEFPY(no_bgp_shutdown, no_bgp_shutdown_cmd, "no bgp shutdown",
-      NO_STR BGP_STR "Disable administrative shutdown of the BGP instance\n")
+      NO_STR BGP_STR "Remove administrative shutdown of the BGP instance\n")
 {
        VTY_DECLVAR_CONTEXT(bgp, bgp);
 
@@ -3641,7 +3641,7 @@ DEFPY(no_bgp_shutdown, no_bgp_shutdown_cmd, "no bgp shutdown",
 
 DEFPY(no_bgp_shutdown_msg, no_bgp_shutdown_msg_cmd,
       "no bgp shutdown message MSG...", NO_STR BGP_STR
-      "Disable administrative shutdown of the BGP instance\n"
+      "Remove administrative shutdown of the BGP instance\n"
       "Add a shutdown message (RFC 8203)\n" "Shutdown message\n")
 {
        VTY_DECLVAR_CONTEXT(bgp, bgp);