Rename "show interfaces" -> "show interface" 61/5861/1
authorDave Barach <dave@barachs.net>
Sun, 26 Mar 2017 23:36:18 +0000 (19:36 -0400)
committerDave Barach <dave@barachs.net>
Sun, 26 Mar 2017 23:36:46 +0000 (19:36 -0400)
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>
src/vnet/devices/af_packet/cli.c
src/vnet/devices/virtio/vhost-user.c
src/vnet/interface_cli.c
src/vnet/span/span.c

index d4aa701..44dc517 100644 (file)
@@ -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:
  *
index 5a5beb1..5ad4cb6 100644 (file)
@@ -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.
  *
index c156655..5640966 100644 (file)
@@ -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* */
index bc244ef..c5b43e3 100644 (file)
@@ -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,
 };