summaryrefslogtreecommitdiff
path: root/zebra/interface.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-06-15 13:43:26 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-06-16 13:01:51 -0400
commitd617d5febfbba2b986206e250f1bb3ccf0f23d10 (patch)
treee9fa8d4b05387a2ef2f796b37c37589af47e7dcd /zebra/interface.c
parent62e4232010330e515630399838288f6281d04de6 (diff)
*: Add vrf autocompletion for commands
Switch NAME to VRFNAME and add vrf autocompletion to commands that have them Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/interface.c')
-rw-r--r--zebra/interface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/interface.c b/zebra/interface.c
index 9393305f06..39476c6119 100644
--- a/zebra/interface.c
+++ b/zebra/interface.c
@@ -1282,7 +1282,7 @@ struct cmd_node interface_node =
/* Show all interfaces to vty. */
DEFUN (show_interface,
show_interface_cmd,
- "show interface [vrf NAME]",
+ "show interface [vrf VRFNAME]",
SHOW_STR
"Interface status and configuration\n"
VRF_CMD_HELP_STR)
@@ -1330,7 +1330,7 @@ DEFUN (show_interface_vrf_all,
DEFUN (show_interface_name_vrf,
show_interface_name_vrf_cmd,
- "show interface IFNAME vrf NAME",
+ "show interface IFNAME vrf VRFNAME",
SHOW_STR
"Interface status and configuration\n"
"Interface name\n"
@@ -1438,7 +1438,7 @@ if_show_description (struct vty *vty, vrf_id_t vrf_id)
DEFUN (show_interface_desc,
show_interface_desc_cmd,
- "show interface description [vrf NAME]",
+ "show interface description [vrf VRFNAME]",
SHOW_STR
"Interface status and configuration\n"
"Interface description\n"