From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2F1E3A0526; Mon, 20 Jan 2020 18:11:48 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BD9AC1C0CB; Mon, 20 Jan 2020 18:11:47 +0100 (CET) Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by dpdk.org (Postfix) with ESMTP id AB7631BFD7 for ; Mon, 20 Jan 2020 18:11:45 +0100 (CET) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20200120171145euoutp020f2638586bdd12cb4de3652c6c5ca809~rp4ntUJOp0913609136euoutp02D for ; Mon, 20 Jan 2020 17:11:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20200120171145euoutp020f2638586bdd12cb4de3652c6c5ca809~rp4ntUJOp0913609136euoutp02D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1579540305; bh=63fH6rBc9Dg84kVHrIhVz1t1MwYKJkpLgqbl0bi1hNU=; h=From:To:Cc:Subject:Date:References:From; b=pf2Cfl0ugg+QlgaU1axjZZEFaC61ZC6c9+YrAO65EGEl3a/QwW6XebDna2NKw5TsX TW3nHUkmB2/Cd9MwPkSKBxPwlrC4aByZkAsgf5BhyOgIPvtTpLCaHD+2a4Ixm+sZ/9 gbgbN/YsL86obL1MHDci50DN7g3CqRgRmQathNfc= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20200120171144eucas1p2f9fa6c59e7cee381c2813210fdfb8a7c~rp4nWQHOx1697616976eucas1p2K; Mon, 20 Jan 2020 17:11:44 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id A8.44.60679.05FD52E5; Mon, 20 Jan 2020 17:11:44 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20200120171144eucas1p10d5acdbc73ee55f6dfc73339459d9912~rp4nCcfCP0406104061eucas1p1V; Mon, 20 Jan 2020 17:11:44 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200120171144eusmtrp15e93a609d019fabdd578a1bbea214576~rp4nBxfr_0392203922eusmtrp1i; Mon, 20 Jan 2020 17:11:44 +0000 (GMT) X-AuditID: cbfec7f4-0cbff7000001ed07-4a-5e25df50e060 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 33.46.07950.05FD52E5; Mon, 20 Jan 2020 17:11:44 +0000 (GMT) Received: from idyukov.rnd.samsung.ru (unknown [106.109.129.29]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200120171144eusmtip2e6b9070d8a36686cd6128f9f1f5bc5e3~rp4mo2Pyh2814528145eusmtip2d; Mon, 20 Jan 2020 17:11:43 +0000 (GMT) From: Ivan Dyukov To: dev@dpdk.org, keith.wiles@intel.com Cc: Ivan Dyukov Date: Mon, 20 Jan 2020 20:11:34 +0300 Message-Id: <20200120171134.24585-1-i.dyukov@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHIsWRmVeSWpSXmKPExsWy7djP87oB91XjDLb16lm8+7SdyWLWpSZ2 i6vHvzM7MHv8WrCU1WPxnpdMHn1bVjEGMEdx2aSk5mSWpRbp2yVwZVzuus1a8IC9YsG7PpYG xilsXYycHBICJhInehqZuhi5OIQEVjBKfNvbxA7hfGGUmPD6OyNIlZDAZ0aJOTMkuhg5wDoW 32KCCC9nlDgyOwOi/iujxM4/y8GmsgloSJzumAdWJCKgLr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gkOZiUR3gVNQCHelMTKqtSi/Pii0pzU4kOMpkDLJzJLiSbnA0M8ryTe0NTQ3MLS 0NzY3NjMQkmct0PgYIyQQHpiSWp2ampBahFMHxMHp1QDo1y2ceeHrecFNH7yF3jxhJ7ZFO7Z 8KHA6fC2qc++fAuYu2Km/9uvAjc1v3gesFj44NVDnz3dB9YtaZGaskuq9+VP+WgnAbV4G83G YLF1sqWi8bl3imcH/pQ8O+Gzjq7d+ZtPJed9yuz5Mntut1CyZs+HJ2YvBKVPzS18uKOtaw17 sPjl5SwGzkosxRmJhlrMRcWJAOlFejs5AgAA X-CMS-MailID: 20200120171144eucas1p10d5acdbc73ee55f6dfc73339459d9912 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20200120171144eucas1p10d5acdbc73ee55f6dfc73339459d9912 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200120171144eucas1p10d5acdbc73ee55f6dfc73339459d9912 References: Subject: [dpdk-dev] [PATCH v2] pktgen: fix sequence help message X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" pktgen cli does not show sequence help if it's wrong or incomplete Signed-off-by: Ivan Dyukov --- app/cli-functions.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/cli-functions.c b/app/cli-functions.c index f104781..f43d23e 100644 --- a/app/cli-functions.c +++ b/app/cli-functions.c @@ -1309,7 +1309,8 @@ 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 +1321,9 @@ 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