vnet: update help message for intfc state 85/6485/2
authorRay Kinsella <ray.kinsella@intel.com>
Thu, 27 Apr 2017 08:57:00 +0000 (09:57 +0100)
committerDamjan Marion <dmarion.lists@gmail.com>
Thu, 27 Apr 2017 11:46:23 +0000 (11:46 +0000)
Add useful help information on set interface state.

Change-Id: Ibcdcea2849ccaee4cc72bf38d79102beb0d4be11
Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
src/vnet/interface_cli.c

index b17072a..94eb7ea 100644 (file)
@@ -829,7 +829,7 @@ done:
  ?*/
 VLIB_CLI_COMMAND (set_state_command, static) = {
   .path = "set interface state",
-  .short_help = "Set interface state",
+  .short_help = "set interface state <if-name> [up|down|punt|enable]",
   .function = set_state,
 };
 /* *INDENT-ON* */