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 221B343B38; Wed, 14 Feb 2024 17:53:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A4AAC42E50; Wed, 14 Feb 2024 17:53:58 +0100 (CET) Received: from wfhigh2-smtp.messagingengine.com (wfhigh2-smtp.messagingengine.com [64.147.123.153]) by mails.dpdk.org (Postfix) with ESMTP id BE09B42E1F for ; Wed, 14 Feb 2024 17:53:56 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.west.internal (Postfix) with ESMTP id 2572A180007B; Wed, 14 Feb 2024 11:53:55 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 14 Feb 2024 11:53:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1707929634; x=1708016034; bh=jpZ7z9M66QBQTPg/4sxMVvYCMi2gdI+tGJQ/n3ESBkM=; b= ctAGO0hGFqNjm1wO/cvHRxoRkqnIuos/e2uHFscjbyTBaQv6gdzPhdYpkdl3DDE4 69CLjNq35JK3PLl1spavJPGEcwLZTyyL+iKKZhECKrB70hurvqEPH53Ne+OowF50 a+q5B36emowwmWi367aVrw6gb/gsYAh4Nm5Mi8i3NfAulb2JmDdkfb2zU0ECKUq9 /ZtW7KBmk8W9mv7LWcZlM/nH8ki16snKTmRCmerdNlNTlQ9S4w97iuySH4+9BvYg /PzLZJ7Q4kFOZbq4ZXduffEG/zTZKYTADvZpqi1dRw5RQPw+cb1Psv84k9arCbR8 2+qjYzZM5/heVpZ3WevyJQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1707929634; x= 1708016034; bh=jpZ7z9M66QBQTPg/4sxMVvYCMi2gdI+tGJQ/n3ESBkM=; b=N 5KDpUyRYsKm+rWwBSZOvcirdJMv+c1pS6HZR8p5/G+/4zFBlwx+0Rvdvi3PNpPSG QFo1OeO2KV8UMWA0lOVEpaPvVa1+lIlVGZAeAhM2PDRWGxgr/Ew3rnxQP+naqnsz Bd3/j2+VZu41aEr8c9uHY2JzGrGU1A/qsP6zIAt9nEl/8gEbcQm4/r9T5TvF7G9M 0DCKYkHdLkQXIBM11Ddsf3mp1h5xbACBXbNIstIG+a42gOAiLqBnrh/Q+DjhtoGb Am9iVJcYIRY9k1auv6qX6GTENOG+WFdpvcTBYfsFWudJ+u74hsFMbAoq09e9p5SK FFW2xqpBaBHaHca6w4sAg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudejgdelhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepjeejffffgfffkeefffelgfekleetjeffleeludeghfehleffteeh veduffdugfdvnecuffhomhgrihhnpeguphgukhdrohhrghenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhn rdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 14 Feb 2024 11:53:53 -0500 (EST) From: Thomas Monjalon To: Chengwen Feng Cc: dev@dpdk.org, ferruh.yigit@amd.com, stephen@networkplumber.org, tangkunshan@huawei.com Subject: Re: [PATCH v3 0/8] add argparse library Date: Wed, 14 Feb 2024 17:53:51 +0100 Message-ID: <7007335.Sb9uPGUboI@thomas> In-Reply-To: <20240126061013.53608-1-fengchengwen@huawei.com> References: <20231121122651.7078-1-fengchengwen@huawei.com> <20240126061013.53608-1-fengchengwen@huawei.com> 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 26/01/2024 07:10, Chengwen Feng: > Introduce argparse library (which was inspired by the thread [1]), > compared with getopt, it makes it easy to write user-friendly > command-like program. > > Note: the 2nd commit contains usage examples. > > [1] https://patchwork.dpdk.org/project/dpdk/patch/20231105054539.22303-2-fengchengwen@huawei.com/ > > Chengwen Feng (8): > eal: introduce more macro for bit definition > argparse: add argparse library > argparse: support verify argument config > argparse: support parse parameters > argparse: provide parsing known type API > argparse: support parse unsigned base type > argparse: pretty help info > examples/dma: replace getopt with argparse With a bit of doc improvement and tidying, applied, thanks.