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 2CBC1423A1; Tue, 10 Jan 2023 10:12:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1F27440691; Tue, 10 Jan 2023 10:12:57 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 5CFCD40689 for ; Tue, 10 Jan 2023 10:12:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673341975; x=1704877975; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=E26yeS7dqAxffHht951SE07M4BI/3WbZrdj+kQ0Av+A=; b=NIguvd/7zfhQr+WAiun2/ripF3/RaFjdLIPuZMZ/iySkJg4zPEzzz3RN dM4DVnI5zrDk6l5xrEkHvvMzUrTKdLE5pTtikOa6xnBrhrjm05KLUnjKR ARIX5SOwkxdJNUKvf2e7PJIVvrHfo8GKWaj8mTJDgZSCaItVMLCJbGQ3Q T5wQlbIDVNFZ16Kbx0z8pj3n1eq5pUf7RxWZXlV2oYd/muOrpQLfuz7h5 FLjes86NQvETsrw0KkxJe9afCKdFjfW9iEdF/tEnMJgjVk8LVp9z35sPG 4/5mS0NXC4Jt3K7Yj8uK8YqmsRYlc1wM6b5NgbPOCeO7Ra/1qa2neaHm+ g==; X-IronPort-AV: E=McAfee;i="6500,9779,10585"; a="310901995" X-IronPort-AV: E=Sophos;i="5.96,314,1665471600"; d="scan'208";a="310901995" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jan 2023 01:12:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10585"; a="720270734" X-IronPort-AV: E=Sophos;i="5.96,314,1665471600"; d="scan'208";a="720270734" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga008.fm.intel.com with ESMTP; 10 Jan 2023 01:12:50 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Tue, 10 Jan 2023 01:12:50 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Tue, 10 Jan 2023 01:12:50 -0800 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.170) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Tue, 10 Jan 2023 01:12:49 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V6BZC9+xPySQHHYRx00OT7mKZ9OzlDVgjIq8X/TKAw0eXYFfVjLG/a9zju0LOmrDcm3qjBQxLbzKBnZBNUTF2U5uUgcZqH3Vpa2v0oQSZiDwGzTrEyzpXVF9Ih0roeIkfzIXjs8a1efZHV7wWxL9dewSAN9nEy1EcOUlSOf2nj78nt8bVSYW5dIMVv+nzPvrk+mWl6xYIaTxiBfQMzpMqg4+fiW8UhLly/szE26SalshvEQNlHgKjP4MzYIiytmVERemkzREFH8F+4bnvmPyNYnhoDx1rt7ECSFNC0NtsIgi0LnBQIf07aWC3IzN/2tfLjhy2JAyKr+c+Ry27Wz2Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=66iDmaglS/gkV5CZ4+EQDNnIWe7v1C13SOGSjRaARVs=; b=acPlTR6PWmJ3U6tATsbvOsybERCnwkxIvTUW8c+7RGoL4re0dRzaI+0I0GFigLhL8xakjaAuWUYiC63BWJOJVI0HRZmn1p+m7XLsM6wOO3BNWC4yycSbgM/PjgpaVAIySkJPoZ66r5dK/0s9ym4UlrWy4z6+/WLy3E74azd8dh2O1TVe9OsXkBRRFa2RLKjENZP/kjrm5zHuQc6/EMgcPlxgMXaEyRII0/QsQEIUhKCC7KT5EWTHZyDafLOllHFubcfvf5stF5g3PJr0i3b6aARPsRKOwZZhYjP99CcU1XZtG/JFH7BxxpAJkC5XsxRF62PN2NyZI+5RmUxpZyWwiQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by DS0PR11MB7577.namprd11.prod.outlook.com (2603:10b6:8:142::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Tue, 10 Jan 2023 09:12:48 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::4d9f:6867:2d53:9ee]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::4d9f:6867:2d53:9ee%8]) with mapi id 15.20.5986.018; Tue, 10 Jan 2023 09:12:48 +0000 Date: Tue, 10 Jan 2023 09:12:42 +0000 From: Bruce Richardson To: Huisong Li CC: , , , , , Subject: Re: [PATCH v2 1/2] usertools: use argparse module to get input parameter Message-ID: References: <20230109065547.8819-1-lihuisong@huawei.com> <20230110073146.8221-1-lihuisong@huawei.com> <20230110073146.8221-2-lihuisong@huawei.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230110073146.8221-2-lihuisong@huawei.com> X-ClientProxiedBy: LO4P123CA0221.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a6::10) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|DS0PR11MB7577:EE_ X-MS-Office365-Filtering-Correlation-Id: c92a1806-ad10-4ef6-9078-08daf2ead7e1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OSm4E96aYOjgpxYeJJ905WOKnlWuZmajxN3FBvmANAIyESnzW6S6ZMYQcGVEOXddpvwDXJY+wx3cdyEna9Vkiqrf6dDdLqMZ5u8YVwc14kMPyHPC/ss+J+MeFELooTDzqe4YkBiacenuD9rtabDvBiyoBGmyL+6ot00vnL8Z7xw2kFhwJMoPWBa8MB21QlABtWw2keVoaBUpLnblV0935c30vbG6rkwlh4yBxM1TD3NHiUsYnucjeXLT83l7xcnGEXvWGt0THg8/+YumgbhvIWQkJ0sZPU0l77H2fOp90WMf7xN7eC4gGhxEEjOEP9F8Tx4Tx+hH1sLvfuqpcINrUefIyo+BRpWlTDMkcwF4KXwlBKiLcLgfUUsfHOywApIWSqkhN/+f3b9DaVhhfqT8T/B1zcnQTbVb0uP9TEUUufyAtVGJBokfZEJ+b16X1LRU7VyxIGO2zn17xaKn6buhRzO22zGHV2qhc7r8I/d/WdeCToh+iD8/5kLh1TJ15SuCvqEFSQ+HoEntUTgj1dfTAMasuC/TuTQ/t8xKxYvRNrI4NN3UOGcSgGNCIzOqDgW5zOHaW4r6h0IQgfDZ6z7gU9fHoSrvZpt1d0Oqn4DczaybLg8ExhejAxd7s+bQ/iC4 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(136003)(346002)(376002)(366004)(396003)(39860400002)(451199015)(8936002)(2906002)(5660300002)(41300700001)(4326008)(316002)(6916009)(8676002)(66556008)(66946007)(66476007)(44832011)(4744005)(26005)(6512007)(38100700002)(86362001)(186003)(82960400001)(478600001)(6486002)(6506007)(6666004); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ExEerI0ahzIGmwJoOCkATnoR3ydsZUxBstwgbpidDUJbXXniL4I/QvSroo7t?= =?us-ascii?Q?k6kA85EZAndh6qmm/IGN9lTqa/QKZ/vo5rCz1jEZirzXaqTQCy2g9Bwidulb?= =?us-ascii?Q?dz7PSr/65NbyVczUmCwDRT3pfwcCTFVG9KZPXvq1tymNB+iBwx0do4gGGntR?= =?us-ascii?Q?/TAbfcQyw76pOsbUCozbfAgUVLJr9y3UNnSO0JNnoSFuFKGHW38eoO3G5rAk?= =?us-ascii?Q?gR7Qjy/7Iysr0hQaBHIEuGcNc4IFYMc6IG+NuXGjEb8FaejJPN0XZOcpVRjj?= =?us-ascii?Q?ZD0J2GCAk7+Mjqe5HjxYRlWSd3644JTRxEHsU/xyH89k/rkV0pqmjv7E3k2K?= =?us-ascii?Q?5esNEVxgNBVs4bMbMIqMDYdfahRuX3QcEFWJnEYn1gQ9raCfWlcoyUe+EK10?= =?us-ascii?Q?6IGh9BpaOKlRYfI6xvsZBG4lXRhzRLiHk9Zlu2NGw5UR7Xk7Re0uPBWZJy4f?= =?us-ascii?Q?Hh5UCgnOzXM2FTxoaK6fFh/E76RftSoYkWqL3BXekFwfFuI3D9B8qnsuiNXq?= =?us-ascii?Q?MhRJ3lu0YNdu4qu6xjLZBIZCvWPlk8J7jDlv08s4pd2Rys+TXE0VMD7WENMG?= =?us-ascii?Q?wAuiXuzQLI9oX652tpoaPCKKzZzXs36ffYN9q5Pm+XEnFDscdBF9UA32URp2?= =?us-ascii?Q?AEFsamORvEk6/eA7dNznu+FRMdvC3I7WoISGzxNNNH4B3vtyTGZz2To0ujtq?= =?us-ascii?Q?6kLh0ckHUQu/1YeKEI0cPdU27DQ4lMiId+PvgPZisLurT7/eXllZChShVlUJ?= =?us-ascii?Q?eR3oGxmy3o1w8/sD4i5ORXUzZfTaLnZ6ZC50Z3R7WqT9BKCD3tb/ZhK+tiy1?= =?us-ascii?Q?k+kL05OmQV/MuMGgBkuY31Ru0l/+vbiiMVGgeAuzUjwDqyPP8sKlme01cYWe?= =?us-ascii?Q?lenlwKbogYQ30QeAR+9eo1YahpCP0n+4vNiHtySCncmM+BN92fGts3bdZet3?= =?us-ascii?Q?tjcx5NVMrUFiWRzDnPsChZSrmOD+NifT52Cinipku7258vYWn4kQ4tQdXr+R?= =?us-ascii?Q?LknWQclpIVETbHG2M9EWCs/v3mIeQFHA6o+zWAj93X/9wCtEn9gc5URqIvdx?= =?us-ascii?Q?ESoY+N3041Dz402AyBBFX8XVwmeNEbNavDPVHlIO6OW6HBch4ZkGMjSLbvkO?= =?us-ascii?Q?APf4lZycyltC585gcaf/Mv6tdcbd+k2EJixAiDfjVliDFiQN5+niIqnuRCX2?= =?us-ascii?Q?0JP+WEAArxqAh0fX00/bh5Q5SVGwg2Qxa803PdG7WAyV/K3eMKhCKX9e3jAY?= =?us-ascii?Q?ytQcwsvH5cR7BwhB2cCXwwI2acWKfI5tu9kH1RkoQSke1gQFvLKXC/B8Hken?= =?us-ascii?Q?v0Bcz4yUtBOiXjEUwu3kTL1+UMLu5XaNUpRr3U5lz2bmy65V1+roJMn1nftJ?= =?us-ascii?Q?nmnrLiiJJi8+PkS97/MqJtW94L4tjDE4LEChOIGHCo7+7eLBVx8o1JCfDWEg?= =?us-ascii?Q?1Jn825202Mflwp4l12M3iJQBJXuT44sTVp8w5Ak/4AV8UpjR71t02tkjf4cN?= =?us-ascii?Q?gMUsUrukvlFBuvjj5ZdOIxY12tQrg7EXSmfx7d4656YgzaR+2gSeBhbXTMaR?= =?us-ascii?Q?A5Wk+yPkDtLhe3kpUZw+0cjM0AB86ntitKAR2fytYehsJ+RQW/0BWEEdBVoz?= =?us-ascii?Q?IQ=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: c92a1806-ad10-4ef6-9078-08daf2ead7e1 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2023 09:12:48.5280 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: NtuduT5rXH4UAnwDBEk7xXwdLZJarH8AIU+oRItA7PIY0BZskY3Xbv2vuYGn/gC5FuhCt67zKrx00Z1I2u4Z2zrs+lctTSCA7RHjbEHRa9c= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB7577 X-OriginatorOrg: intel.com 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 On Tue, Jan 10, 2023 at 03:31:45PM +0800, Huisong Li wrote: > The telemetry client script uses argparse module to get input parameter. > argparse uses an optional positional arguments for local socket path to > keep backward compatibility. > > Signed-off-by: Huisong Li > --- Acked-by: Bruce Richardson