From: Jin Liu Date: Thu, 28 Apr 2022 02:03:32 +0000 (+0200) Subject: app/testpmd: fix help of create meter command X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=dfffd090c38522fa8859e6c3e41ae6e1313787b7;p=dpdk.git app/testpmd: fix help of create meter command The help message of create meter command is incomplete, lack of policy_id param, update help string. Fixes: f29fa2c59b85 ("app/testpmd: support policy actions per color") Cc: stable@dpdk.org Signed-off-by: Jin Liu Signed-off-by: Chaoyong He Signed-off-by: Niklas Söderlund Acked-by: Ferruh Yigit --- diff --git a/app/test-pmd/cmdline_mtr.c b/app/test-pmd/cmdline_mtr.c index ad7ef6ad98..a0f885f190 100644 --- a/app/test-pmd/cmdline_mtr.c +++ b/app/test-pmd/cmdline_mtr.c @@ -817,8 +817,8 @@ static void cmd_create_port_meter_parsed(void *parsed_result, cmdline_parse_inst_t cmd_create_port_meter = { .f = cmd_create_port_meter_parsed, .data = NULL, - .help_str = "create port meter (yes|no) " - " " + .help_str = "create port meter " + "(yes|no) " "[ ...]", .tokens = { (void *)&cmd_create_port_meter_create,