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 81AEBA0512; Wed, 15 Jan 2020 09:44:06 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 93BDE1C0AA; Wed, 15 Jan 2020 09:44:05 +0100 (CET) Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by dpdk.org (Postfix) with ESMTP id C35C21C045 for ; Wed, 15 Jan 2020 09:44:03 +0100 (CET) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20200115084403euoutp02af97a784e5729fb1cd02e876d1244545~qAu6ZdjPq0299602996euoutp02Y for ; Wed, 15 Jan 2020 08:44:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20200115084403euoutp02af97a784e5729fb1cd02e876d1244545~qAu6ZdjPq0299602996euoutp02Y DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1579077843; bh=PCKhmardD8OSdoYqxWwXXoDaeYbTTMjuSzZ9noIyqGs=; h=From:To:Cc:Subject:Date:References:From; b=ivF+8GeMEavXZL0IUySHE/Knt+lkZ8ToxlrLSXKF9PA83D3TOmHX6tvGZQF7paQjO 3+/LrnxCzxUF2Ry2f65ueZoIslMI1KfsfwQJ/rx6s/6m9iirjZV+7m/wrGocTELlcq tKvPacDmoR4Ed3kUgl7uGOTP777MIeGMPNSz/BFs= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20200115084402eucas1p1920ec6420229cb27e1fd553fa1aacc2b~qAu6GZLfa2745027450eucas1p17; Wed, 15 Jan 2020 08:44:02 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 43.D0.60679.2D0DE1E5; Wed, 15 Jan 2020 08:44:02 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20200115084401eucas1p11034d3dacb49ffc91847afe9d058a0e5~qAu5SiDYW0678606786eucas1p18; Wed, 15 Jan 2020 08:44:01 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200115084401eusmtrp10f2273927ab8a700f6870dfa1c53b9dc~qAu5R--jx0637306373eusmtrp1D; Wed, 15 Jan 2020 08:44:01 +0000 (GMT) X-AuditID: cbfec7f4-0cbff7000001ed07-8d-5e1ed0d2eed4 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 70.65.08375.1D0DE1E5; Wed, 15 Jan 2020 08:44:01 +0000 (GMT) Received: from idyukov.rnd.samsung.ru (unknown [106.109.129.29]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200115084401eusmtip24b7e8fce234453bc24021d33d62a1e29~qAu42ZcS31866918669eusmtip2y; Wed, 15 Jan 2020 08:44:01 +0000 (GMT) From: Ivan Dyukov To: dev@dpdk.org, keith.wiles@intel.com Cc: Ivan Dyukov Date: Wed, 15 Jan 2020 11:43:55 +0300 Message-Id: <20200115084355.10516-1-i.dyukov@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrAIsWRmVeSWpSXmKPExsWy7djP87qXLsjFGRy/p2fx7tN2JotZl5rY La4e/87swOzxa8FSVo/Fe14yefRtWcUYwBzFZZOSmpNZllqkb5fAlXF62xHGgqPsFYefzGBs YOxj62Lk5JAQMJHY8uU+UxcjF4eQwApGiQW7O1ggnC+MEp+mf2eHcD4zSlzt2sjcxcgB1rLm SCBEfDmjxOebU6HavzJK7D7/kgVkLpuAhsTpjnlMILaIgLrEwr3LweL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Q5mJRHekzOAQrwpiZVVqUX58UWlOanFhxhNgZZPZJYSTc4HBnheSbyhqaG5 haWhubG5sZmFkjhvh8DBGCGB9MSS1OzU1ILUIpg+Jg5OqQZGNosvp64pvOl0W7qk9ay8RM5c 5fBpVZkds8+feVswry3kMFPcXB6F7igXwcliazxYmCacYPkxbdGFSP/M5gqXKY+/vq04ahtg teOQZWjIxgeP13x6xGGbOC86I/rRua8zOzZlJ9morKuOEVbcfNotaFbDNOuS04Fee3e6/ZI8 JVGwl2fBrrXJSizFGYmGWsxFxYkAGJJ4ITgCAAA= X-CMS-MailID: 20200115084401eucas1p11034d3dacb49ffc91847afe9d058a0e5 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20200115084401eucas1p11034d3dacb49ffc91847afe9d058a0e5 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200115084401eucas1p11034d3dacb49ffc91847afe9d058a0e5 References: Subject: [dpdk-dev] [PATCH v1] 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 | 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