[dpdk-dev] app/testpmd: fix set MTU cmd help string
Commit Message
Fixes: ae03d0d18adf ("app/testpmd: command to configure MTU")
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
---
app/test-pmd/cmdline.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
> -----Original Message-----
> From: Yigit, Ferruh
> Sent: Wednesday, August 31, 2016 9:49 AM
> To: dev@dpdk.org
> Cc: De Lara Guarch, Pablo
> Subject: [PATCH] app/testpmd: fix set MTU cmd help string
>
> Fixes: ae03d0d18adf ("app/testpmd: command to configure MTU")
>
> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
> ---
> app/test-pmd/cmdline.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
> index f90befc..17d238f 100644
> --- a/app/test-pmd/cmdline.c
> +++ b/app/test-pmd/cmdline.c
> @@ -1367,7 +1367,7 @@ cmdline_parse_token_num_t
> cmd_config_mtu_value =
> cmdline_parse_inst_t cmd_config_mtu = {
> .f = cmd_config_mtu_parsed,
> .data = NULL,
> - .help_str = "port config mtu value",
> + .help_str = "port config mtu port_id value",
> .tokens = {
> (void *)&cmd_config_mtu_port,
> (void *)&cmd_config_mtu_keyword,
> --
> 2.7.4
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
> > Fixes: ae03d0d18adf ("app/testpmd: command to configure MTU")
> >
> > Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
>
> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Applied, thanks
@@ -1367,7 +1367,7 @@ cmdline_parse_token_num_t cmd_config_mtu_value =
cmdline_parse_inst_t cmd_config_mtu = {
.f = cmd_config_mtu_parsed,
.data = NULL,
- .help_str = "port config mtu value",
+ .help_str = "port config mtu port_id value",
.tokens = {
(void *)&cmd_config_mtu_port,
(void *)&cmd_config_mtu_keyword,