Skip to content

Commit

Permalink
app/testpmd: fix help string for port reset
Browse files Browse the repository at this point in the history
Command help string is missing 'reset' keyword,
although description has it. Adding it.

Fixes: 97f1e19 ("app/testpmd: add port reset command")
Cc: stable@dpdk.org

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
  • Loading branch information
Ferruh Yigit authored and tmonjalo committed Jul 24, 2021
1 parent c6ccd1e commit a2db845
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/test-pmd/cmdline.c
Expand Up @@ -1237,7 +1237,7 @@ cmdline_parse_token_string_t cmd_operate_port_all_all =
cmdline_parse_inst_t cmd_operate_port = {
.f = cmd_operate_port_parsed,
.data = NULL,
.help_str = "port start|stop|close all: Start/Stop/Close/Reset all ports",
.help_str = "port start|stop|close|reset all: Start/Stop/Close/Reset all ports",
.tokens = {
(void *)&cmd_operate_port_all_cmd,
(void *)&cmd_operate_port_all_port,
Expand Down Expand Up @@ -1284,7 +1284,7 @@ cmdline_parse_token_num_t cmd_operate_specific_port_id =
cmdline_parse_inst_t cmd_operate_specific_port = {
.f = cmd_operate_specific_port_parsed,
.data = NULL,
.help_str = "port start|stop|close <port_id>: Start/Stop/Close/Reset port_id",
.help_str = "port start|stop|close|reset <port_id>: Start/Stop/Close/Reset port_id",
.tokens = {
(void *)&cmd_operate_specific_port_cmd,
(void *)&cmd_operate_specific_port_port,
Expand Down

0 comments on commit a2db845

Please sign in to comment.