Skip to content

Commit

Permalink
app/testpmd: fix help string for port reset
Browse files Browse the repository at this point in the history
[ upstream commit a2db845 ]

Command help string is missing 'reset' keyword,
although description has it. Adding it.

Fixes: 97f1e19 ("app/testpmd: add port reset command")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
  • Loading branch information
Ferruh Yigit authored and cpaelzer committed Aug 10, 2021
1 parent dcfe651 commit 7ec9ebd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/test-pmd/cmdline.c
Expand Up @@ -1324,7 +1324,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 @@ -1371,7 +1371,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 7ec9ebd

Please sign in to comment.