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 B1AD2A0582; Tue, 22 Nov 2022 16:42:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 689D742D73; Tue, 22 Nov 2022 16:42:57 +0100 (CET) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id 0DDA1427EB for ; Tue, 22 Nov 2022 16:42:56 +0100 (CET) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 8D3E25C022E; Tue, 22 Nov 2022 10:42:55 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 22 Nov 2022 10:42:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1669131775; x= 1669218175; bh=TfqWLVT0edvgFtplcWOB/26KF92kXW/dhQ1ebkUqdIM=; b=q JFDf6o4xYuk+5EqvRt7/EMrFISi/U6qdFbpjVxDhepypEzftTiJh/SdDICzu6SrV a1lJhOwuMpPspxizsxTJumBKh8tZ6+k1Rq7wvSsGvqiQNpOZEDFvCgTbeWA9CVqv 84OtShmpH9t2IuTMcMMylUUAE6tCsWp94askdHI+lQ9B4jPTulm5ve6oAkhxQrjj 3/yeij/tLAiM5IAbVxG7WrJVRtrVWy9WiZIt4nAcNa4Uf1WNF39DzPSkprvBxG9b Zj91VFSKlzal1SM/m9Ik6jxYjXspCwjR1MJpXLaMBWg8sXZ8GNFH0wUQEU5HD4Ee /tPpb6HkCizA099EMHiWA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1669131775; x= 1669218175; bh=TfqWLVT0edvgFtplcWOB/26KF92kXW/dhQ1ebkUqdIM=; b=s fSXXbjoHNb1UiavqV3z5PVGOkHFbkWyeqQEV4ZGS7jz60MDkuFSTxqjCoefah2d1 CwJ+TrFnt4mYvAXaUvAuVVNnfhUGvWkc/aUVdOZ1JebVrTxH4TehJllXDWebE6ic 8R22F5neJosfjJmOMUBYfwK/DZ2iIz5yzybf0McntK2Th8PzLiphwlcuba76kQx0 wFoQHMKIQg05PVikBqxh6cpbVv8fAnEPyRatSJugaYvE587Ysq0N6cq4lredP+W7 4g+/ReL50tPwjn78f+gkBvI9UsFIFOlt4/PT/1EvOo2c0fu3C8om+BTDSXLG5YEG pCGx+yMwURgmT9qzHWgLQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrheelgdehtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnheptdejieeifeehtdffgfdvleetueeffeehueejgfeuteeftddtieek gfekudehtdfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 22 Nov 2022 10:42:54 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: rjarry@redhat.com, bruce.richardson@intel.com, stephen@networkplumber.org, dmitry.kozliuk@gmail.com, David Marchand Subject: Re: [PATCH v2] usertools/hugepages: show usage if no action specified Date: Tue, 22 Nov 2022 16:42:53 +0100 Message-ID: <13571446.RDIVbhacDa@thomas> In-Reply-To: References: <20221104113018.4069058-1-thomas@monjalon.net> <20221122153238.2373095-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 22/11/2022 16:38, David Marchand: > On Tue, Nov 22, 2022 at 4:33 PM Thomas Monjalon wrote: > > > > Previously, the script was doing nothing if no argument was provided. > > > > If neither show, mount/unmount, clear/reserve are specified, > > it is assumed that the user does not know how to use the script. > > So the usage and an error message are printed. > > The exit code will be non-zero. > > The user will understand something is wrong, > > and can recall the script with the option -h to get more information. > > > > Signed-off-by: Thomas Monjalon > > Acked-by: David Marchand Applied