DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ivan Dyukov <i.dyukov@samsung.com>
To: dev@dpdk.org, keith.wiles@intel.com
Cc: Ivan Dyukov <i.dyukov@samsung.com>
Subject: [dpdk-dev] [PATCH v1] pktgen: fix sequence help message
Date: Wed, 15 Jan 2020 11:43:55 +0300	[thread overview]
Message-ID: <20200115084355.10516-1-i.dyukov@samsung.com> (raw)
In-Reply-To: <CGME20200115084401eucas1p11034d3dacb49ffc91847afe9d058a0e5@eucas1p1.samsung.com>

pktgen cli does not show sequence help if it's wrong or incomplete

Signed-off-by: Ivan Dyukov <i.dyukov@samsung.com>
---
 app/cli-functions.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/cli-functions.c b/app/cli-functions.c
index f104781..4e949f3 100644
--- a/app/cli-functions.c
+++ b/app/cli-functions.c
@@ -1309,7 +1309,7 @@ seq_cmd(int argc, char **argv)
 
 	m = cli_mapping(seq_map, argc, argv);
 	if (!m)
-		return cli_cmd_error("Sequence invalid command", "Seq", argc, argv);
+		return cli_cmd_error("Sequence invalid command", "Sequence", argc, argv);
 
 	switch(m->index) {
 		case 10:
@@ -1320,7 +1320,7 @@ seq_cmd(int argc, char **argv)
 		case 16:
 		case 17: seq_4_set_cmd(argc, argv); break;
 		default:
-			return cli_cmd_error("Sequence invalid command", "Seq", argc, argv);
+			return cli_cmd_error("Sequence invalid command", "Sequence", argc, argv);
 	}
 	return 0;
 }
-- 
2.17.1


           reply	other threads:[~2020-01-15  8:44 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <CGME20200115084401eucas1p11034d3dacb49ffc91847afe9d058a0e5@eucas1p1.samsung.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200115084355.10516-1-i.dyukov@samsung.com \
    --to=i.dyukov@samsung.com \
    --cc=dev@dpdk.org \
    --cc=keith.wiles@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).