summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2017-03-26 19:36:18 -0400
committerDave Barach <dave@barachs.net>2017-03-26 19:36:46 -0400
commit13ad1f02922858177915b1cb1450041d2e4d85de (patch)
treea33fe2339cd4e545960636921fc11d14a2d37ba9 /src/vnet
parentde9571f04a48bf109ea2807a374ac5e05f29c8c1 (diff)
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 <dave@barachs.net>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/devices/af_packet/cli.c2
-rw-r--r--src/vnet/devices/virtio/vhost-user.c2
-rw-r--r--src/vnet/interface_cli.c4
-rw-r--r--src/vnet/span/span.c2
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 '<em>host-<ifname></em>', where '<em><ifname></em>'
* is the name of the specified veth pair. Use the
- * '<em>show interfaces</em>' command to display host interface details.
+ * '<em>show interface</em>' 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 '<em>show interfaces</em>'
+ * software interface index. Use the '<em>show interface</em>'
* 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 c1566551669..5640966cf2f 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] [<if-name1> <if-name2> ...]",
+ .path = "show interface",
+ .short_help = "show interface [address|addr|features|feat] [<if-name1> <if-name2> ...]",
.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,
};