DPDK-dev Archive on lore.kernel.org
 help / color / Atom feed
* [dpdk-dev] [PATCH v1] pktgen: fix sequence help message
       [not found] <CGME20200115084401eucas1p11034d3dacb49ffc91847afe9d058a0e5@eucas1p1.samsung.com>
@ 2020-01-15  8:43 ` Ivan Dyukov
  0 siblings, 0 replies; only message in thread
From: Ivan Dyukov @ 2020-01-15  8:43 UTC (permalink / raw)
  To: dev, keith.wiles; +Cc: Ivan Dyukov

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20200115084401eucas1p11034d3dacb49ffc91847afe9d058a0e5@eucas1p1.samsung.com>
2020-01-15  8:43 ` [dpdk-dev] [PATCH v1] pktgen: fix sequence help message Ivan Dyukov

DPDK-dev Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/dpdk-dev/0 dpdk-dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dpdk-dev dpdk-dev/ https://lore.kernel.org/dpdk-dev \
		dev@dpdk.org
	public-inbox-index dpdk-dev

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git