diff mbox

[dpdk-dev] app/testpmd: Added two missing commands in help

Message ID 1416078096-27652-1-git-send-email-pablo.de.lara.guarch@intel.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

De Lara Guarch, Pablo Nov. 15, 2014, 7:01 p.m. UTC
set link-up and set link-down were not included
in the help command.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
---
 app/test-pmd/cmdline.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Comments

Thomas Monjalon Nov. 24, 2014, 3:57 p.m. UTC | #1
> set link-up and set link-down were not included
> in the help command.
> 
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>

Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>

Applied

Thanks
diff mbox

Patch

diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 4c3fc76..5d5b725 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd/cmdline.c
@@ -463,7 +463,11 @@  static void cmd_help_long_parsed(void *parsed_result,
 			"set bonding xmit_balance_policy (port_id) (l2|l23|l34)\n"
 			"	Set the transmit balance policy for bonded device running in balance mode.\n\n"
 #endif
+			"set link-up port (port_id)\n"
+			"	Set link up for a port.\n\n"
 
+			"set link-down port (port_id)\n"
+			"	Set link down for a port.\n\n"
 			, list_pkt_forwarding_modes()
 		);
 	}