From f6fc6b674ddff19cbcbeb32433157d1ea0fe8acd Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Sun, 26 Mar 2017 19:36:18 -0400 Subject: vpp-678: Rename "show interfaces" -> "show interface" To line up with "show interface placement," recently added. Otherwise, "show int" refers only to "show interface placement," which tends to annoy the cash customers... Change-Id: Iea9e3681aeb051e2b0e1ecbf06706d98af9a3abf Signed-off-by: Dave Barach (cherry picked from commit 13ad1f02922858177915b1cb1450041d2e4d85de) --- src/vnet/devices/af_packet/cli.c | 2 +- src/vnet/devices/virtio/vhost-user.c | 2 +- src/vnet/interface_cli.c | 4 ++-- src/vnet/span/span.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/vnet/devices/af_packet/cli.c b/src/vnet/devices/af_packet/cli.c index d4aa7016aaa..44dc517911b 100644 --- a/src/vnet/devices/af_packet/cli.c +++ b/src/vnet/devices/af_packet/cli.c @@ -113,7 +113,7 @@ done: * exist. Once created, a new host interface will exist in VPP * with the name 'host-', where '' * is the name of the specified veth pair. Use the - * 'show interfaces' command to display host interface details. + * 'show interface' command to display host interface details. * * This command has the following optional parameters: * diff --git a/src/vnet/devices/virtio/vhost-user.c b/src/vnet/devices/virtio/vhost-user.c index 5a5beb1554d..5ad4cb62bee 100644 --- a/src/vnet/devices/virtio/vhost-user.c +++ b/src/vnet/devices/virtio/vhost-user.c @@ -3408,7 +3408,7 @@ VLIB_CLI_COMMAND (vhost_user_connect_command, static) = { /*? * Delete a vHost User interface using the interface name or the - * software interface index. Use the 'show interfaces' + * software interface index. Use the 'show interface' * command to determine the software interface index. On deletion, * the linux socket will not be deleted. * diff --git a/src/vnet/interface_cli.c b/src/vnet/interface_cli.c index 4d8e213d4ce..b17072af5aa 100644 --- a/src/vnet/interface_cli.c +++ b/src/vnet/interface_cli.c @@ -416,8 +416,8 @@ done: /* *INDENT-OFF* */ VLIB_CLI_COMMAND (show_sw_interfaces_command, static) = { - .path = "show interfaces", - .short_help = "show interfaces [address|addr|features|feat] [ ...]", + .path = "show interface", + .short_help = "show interface [address|addr|features|feat] [ ...]", .function = show_sw_interfaces, }; /* *INDENT-ON* */ diff --git a/src/vnet/span/span.c b/src/vnet/span/span.c index bc244eff36d..c5b43e343c4 100644 --- a/src/vnet/span/span.c +++ b/src/vnet/span/span.c @@ -169,7 +169,7 @@ show_interfaces_span_command_fn (vlib_main_t * vm, /* *INDENT-OFF* */ VLIB_CLI_COMMAND (show_interfaces_span_command, static) = { - .path = "show interfaces span", + .path = "show interface span", .short_help = "Shows SPAN mirror table", .function = show_interfaces_span_command_fn, }; -- cgit 1.2.3-korg