From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 37AF4A0547; Fri, 12 Mar 2021 19:18:48 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BFB78160918; Fri, 12 Mar 2021 19:17:50 +0100 (CET) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id 2632F16090A for ; Fri, 12 Mar 2021 19:17:47 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id CDCC65C0152; Fri, 12 Mar 2021 13:17:46 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 12 Mar 2021 13:17:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=NmyGRydXBBdpM zLSAVUUvnDMemu4E8YTIbnhdfm0efM=; b=BV/ZGIUKIO7dds8rV4LtCl5RcJQPB ef9HDbq0Y1YEGD+JtpgNRVBBAUrKfbjaGY+Lg3iTKwpfLvlDWfQY7Dzt/YXC0UwF oYEmDSr1x/MhAUnJcFkPDRf9b3buc+K0OFQlD2zWtX2zTV3xLkb3NHQCNXbEOkCG UL2Vy9wu+ONVwAbSK22xZsrQUdY/POkrTPH6z+YeXN1b1CPrvX0DNlB+rkBN78Ph /wYEfN45gYNYULYOqX2mrPja9ZgTyZadtWpUSnAhBFHCgOiXEsM0Qg47V7Z0g25/ Eta1QlT4Nt0St/3kfH4G9u6pEsrK2IGntmwvSRL2yRRiU7Cx96viFYfTg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=NmyGRydXBBdpMzLSAVUUvnDMemu4E8YTIbnhdfm0efM=; b=bGGwwxmc WPbw7GEsTGAIBF8p0XQEPUjN4AG3NRkEKMcBibywZ14WJFLEYWP4k5ZMnoA/262S 0Jew/RCH89rFtWa97Ra7qeBzaMZMQHTXeCJ0Ziguc0+5r1cXvCdF7dek/IVeodv2 IR5i3NrvZi+dEu+8uQbgE/XNHlD/qsR06OldNivNjk0IqlxHgteZt3Zt6wAeYBHA SNf2GDPoRQvUxN/sRLdUoutJbDsMFaeUBDauKEy0DkCyJq1C6fx8p8AZqi/rXRRH R/hHsVhQS0NDuECE4tMcFX6a8fbeQVwqS+qiGFMx4nDwsleR1RVH9Lvi9CGbiQBH F5p7NaobvcqCiQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddvvddguddutdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedvhefgiedvjeegtdevheefhfetleefgfeivefgffevfeejgedt gfeutdehtdegveenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh fuihiivgepuddtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhj rghlohhnrdhnvght 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 18C3024005C; Fri, 12 Mar 2021 13:17:46 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: david.marchand@redhat.com, bruce.richardson@intel.com, mb@smartsharesystems.com, Xiaoyun Li Date: Fri, 12 Mar 2021 19:17:20 +0100 Message-Id: <20210312181720.242252-12-thomas@monjalon.net> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210312181720.242252-1-thomas@monjalon.net> References: <20210309233116.1934666-1-thomas@monjalon.net> <20210312181720.242252-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 11/11] app/testpmd: fix usage text X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" The options help text was including an incomplete and redundant summary of the options before explaining each. The summary is dropped. The details of the option --hairpin-mode had an extra space, breaking the alignment with the next line. Signed-off-by: Thomas Monjalon --- app/test-pmd/parameters.c | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c index 7f41021d4d..efcbf1e845 100644 --- a/app/test-pmd/parameters.c +++ b/app/test-pmd/parameters.c @@ -49,29 +49,7 @@ void usage(const char *progname) { - printf("usage: %s [EAL options] -- " -#ifdef RTE_LIB_CMDLINE - "[--interactive|-i] " - "[--cmdline-file=FILENAME] " -#endif - "[--help|-h] | [--auto-start|-a] | [" - "--tx-first | --stats-period=PERIOD | " - "--coremask=COREMASK --portmask=PORTMASK --numa " - "--portlist=PORTLIST " - "--mbuf-size= | --total-num-mbufs= | " - "--nb-cores= | --nb-ports= | " -#ifdef RTE_LIB_CMDLINE - "--eth-peers-configfile= | " - "--eth-peer=X,M:M:M:M:M:M | " - "--tx-ip=SRC,DST | --tx-udp=PORT | " -#endif - "--pkt-filter-mode= |" - "--rss-ip | --rss-udp | --rss-level-inner | --rss-level-outer |" - "--rxpt= | --rxht= | --rxwt= |" - " --rxfreet= | --txpt= | --txht= | --txwt= | --txfreet= | " - "--txrst= | --tx-offloads= | | --rx-offloads= | " - "--vxlan-gpe-port= | --geneve-parsed-port= | " - "--record-core-cycles | --record-burst-stats]\n", + printf("\nUsage: %s [EAL options] -- [testpmd options]\n\n", progname); #ifdef RTE_LIB_CMDLINE printf(" --interactive: run in interactive mode.\n"); @@ -221,7 +199,7 @@ usage(const char *progname) "enabled\n"); printf(" --record-core-cycles: enable measurement of CPU cycles.\n"); printf(" --record-burst-stats: enable display of RX and TX bursts.\n"); - printf(" --hairpin-mode=0xXX: bitmask set the hairpin port mode.\n " + printf(" --hairpin-mode=0xXX: bitmask set the hairpin port mode.\n" " 0x10 - explicit Tx rule, 0x02 - hairpin ports paired\n" " 0x01 - hairpin ports loop, 0x00 - hairpin port self\n"); } -- 2.30.1