From 21f5aade3d4689f0f6b3d5823685fec99c35a703 Mon Sep 17 00:00:00 2001 From: Renato Westphal Date: Wed, 16 Oct 2019 13:05:17 -0300 Subject: [PATCH] vtysh: remove DEFPY variable names Some DEFPY commands were copied to vtysh without being cleaned up properly. Fix this. Signed-off-by: Renato Westphal --- vtysh/vtysh.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index 0c7a7471b1..d315fe2900 100644 --- a/vtysh/vtysh.c +++ b/vtysh/vtysh.c @@ -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 [ WORD]]", + "router bgp [(1-4294967295) [ 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 \ - |translate WORD$translator_family\ + format \ + |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