app/testpmd: add some missing commands in help
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Sat, 15 Nov 2014 19:01:36 +0000 (19:01 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 24 Nov 2014 15:28:58 +0000 (16:28 +0100)
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>
app/test-pmd/cmdline.c

index 4c3fc76..ef8e9cd 100644 (file)
@@ -463,6 +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()
                );