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 35909A0588 for ; Tue, 21 Apr 2020 01:25:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 002631D65C; Tue, 21 Apr 2020 01:25:52 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id D7A711C2FA; Tue, 21 Apr 2020 01:25:49 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id B0D615C01D7; Mon, 20 Apr 2020 19:25:46 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Mon, 20 Apr 2020 19:25:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=tC7PiKZc5Xf7PS2wr/Kvf6DmJt IyYFWr718L1wbvQi0=; b=fSF4Pe1yp6HlrG14mHTao8SXAGFbYTnx3SEn4Vyvcu IvCbPpUpkQsm6mCixzOAIKpFWORAQ2qJ7gUxBm2YOijW2R/sVVNTIpA2tLD0zj0X KYD4PMgzZPxzYEfw6dwk9+zvxlNfiwCRZ3eoig+Jw3AHY+pS4C0ri/bK84XXl0j0 VGL1l/GhG3U/29Wvl+DW9TSHlp8P108a8waHErMiql71/mEZz7vnjraqRpvS7dHo TjHr8I14AHPDgC83NMMtbpvobdFaJqdv4SiFfZ5POQV2NfxXDRgJLITZXshSGuHV wjOLMQN6yCCphUzS1Lf9WbxgdLJQ80+Smo2dXqnJTvXQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=tC7PiKZc5Xf7PS2wr /Kvf6DmJtIyYFWr718L1wbvQi0=; b=EToDYR/Kz72MkAX8d/grjc6b0A4WSIU7g irLtbni1LZPaZtRRh9DQHsC17wBZo+hrjaU0VJIyoGgO3dxfx430ltEkikudzUZl fiXSMXv79KhL0w/S1uc6GvAoGNwYoRyYj8biij/CfBqSfZaB1AGBp+A+/MNtYeHV lInlZVsMjIRQXHZHes/SOXKzs4stT47yaEZSDBgoal4/FxqxmfYPvGO2TSu4r35f cPLd0B3DfJJOJdq9RD6PsLrBQSX9HNcDu5nCnGXAKnX9y91q5VDY8q3UGtYva/lI n7BCMbeR6tn8UUnwajG3ZdOG0rkH+5OHJHp/WtjwaQynfMfcmR+IA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrgeeggddukecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghsucfo ohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkphepje ejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 2767E3065C47; Mon, 20 Apr 2020 19:25:45 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: vipin.varghese@intel.com, stable@dpdk.org, Reshma Pattan , Konstantin Ananyev , Wenzhuo Lu , Jingjing Wu , Bernard Iremonger , Pablo de Lara Guarch Date: Tue, 21 Apr 2020 01:25:31 +0200 Message-Id: <20200420232532.1736187-1-thomas@monjalon.net> X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [PATCH] app: fix usage help of options separated by dashes X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" The EAL options and app-specific options are separated with double dashes. The help of testpmd, test-acl and pdump were missing the dashes after EAL options. Note: testpmd was completely missing the EAL options. Fixes: af75078fece3 ("first public release") Fixes: 26c057ab6c45 ("acl: new test-acl application") Fixes: b2854d5317e8 ("app/pdump: support multi-core capture") Cc: vipin.varghese@intel.com Cc: stable@dpdk.org Signed-off-by: Thomas Monjalon --- app/pdump/main.c | 2 +- app/test-acl/main.c | 2 +- app/test-pmd/parameters.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/pdump/main.c b/app/pdump/main.c index d05a023667..c38c53719e 100644 --- a/app/pdump/main.c +++ b/app/pdump/main.c @@ -151,7 +151,7 @@ static uint8_t multiple_core_capture; static void pdump_usage(const char *prgname) { - printf("usage: %s [EAL options]" + printf("usage: %s [EAL options] --" " --["CMD_LINE_OPT_MULTI"]\n" " --"CMD_LINE_OPT_PDUMP" " "'(port= | device_id=)," diff --git a/app/test-acl/main.c b/app/test-acl/main.c index 4bc00272f4..0a5dfb621d 100644 --- a/app/test-acl/main.c +++ b/app/test-acl/main.c @@ -12,7 +12,7 @@ #include #include -#define PRINT_USAGE_START "%s [EAL options]\n" +#define PRINT_USAGE_START "%s [EAL options] --\n" #define RTE_LOGTYPE_TESTACL RTE_LOGTYPE_USER1 diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c index 404dba2b20..30c1753c32 100644 --- a/app/test-pmd/parameters.c +++ b/app/test-pmd/parameters.c @@ -49,7 +49,7 @@ static void usage(char* progname) { - printf("usage: %s " + printf("usage: %s [EAL options] -- " #ifdef RTE_LIBRTE_CMDLINE "[--interactive|-i] " "[--cmdline-file=FILENAME] " -- 2.26.0