aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2017-03-26 19:36:18 -0400
committerDave Barach <dave@barachs.net>2017-03-30 15:03:55 -0400
commitf6fc6b674ddff19cbcbeb32433157d1ea0fe8acd (patch)
treeaad9f5784533dbb131ba3b33b6fbccba69f59566 /src
parent5d2495d550b220e706b90ff5b42bc8c435be205c (diff)
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 <dave@barachs.net> (cherry picked from commit 13ad1f02922858177915b1cb1450041d2e4d85de)
Diffstat (limited to 'src')
-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 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] [<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,
};