]> git.proxmox.com Git - mirror_frr.git/commitdiff
vtysh: remove DEFPY variable names
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 16 Oct 2019 16:05:17 +0000 (13:05 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Wed, 16 Oct 2019 20:09:09 +0000 (17:09 -0300)
Some DEFPY commands were copied to vtysh without being cleaned up
properly. Fix this.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
vtysh/vtysh.c

index 0c7a7471b1ecb95641698571a5f121068435a05d..d315fe29001fba91a0590bbcf30177cc3cfe4174 100644 (file)
@@ -1339,7 +1339,7 @@ DEFUNSH(VTYSH_REALLYALL, vtysh_end_all, vtysh_end_all_cmd, "end",
 }
 
 DEFUNSH(VTYSH_BGPD, router_bgp, router_bgp_cmd,
-       "router bgp [(1-4294967295)$instasn [<view|vrf> WORD]]",
+       "router bgp [(1-4294967295) [<view|vrf> WORD]]",
        ROUTER_STR BGP_STR AS_STR
        "BGP view\nBGP VRF\n"
        "View/VRF name\n")
@@ -2427,10 +2427,10 @@ DEFUN (vtysh_show_error_code,
 /* Northbound. */
 DEFUN (show_yang_operational_data,
        show_yang_operational_data_cmd,
-       "show yang operational-data XPATH$xpath\
+       "show yang operational-data XPATH\
          [{\
-          format <json$json|xml$xml>\
-          |translate WORD$translator_family\
+          format <json|xml>\
+          |translate WORD\
         }]" DAEMONS_LIST,
        SHOW_STR
        "YANG information\n"
@@ -2454,9 +2454,9 @@ DEFUNSH(VTYSH_ALL, debug_nb,
        debug_nb_cmd,
        "[no] debug northbound\
           [<\
-           callbacks$cbs [{configuration$cbs_cfg|state$cbs_state|rpc$cbs_rpc}]\
-           |notifications$notifications\
-           |events$events\
+           callbacks [{configuration|state|rpc}]\
+           |notifications\
+           |events\
           >]",
        NO_STR
        DEBUG_STR