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 7D83EA0567; Wed, 10 Mar 2021 08:08:23 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F26E14068C; Wed, 10 Mar 2021 08:08:22 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2078.outbound.protection.outlook.com [40.107.220.78]) by mails.dpdk.org (Postfix) with ESMTP id B7DD640687 for ; Wed, 10 Mar 2021 08:08:21 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PY8TGHPJYrESsdhWPGSJOfeDqxDKMRKIOMymgyemPy2bOmBLxcAQuR6PohEOajwF7B18JoSmTLycn/JwrwOTWRwbcwf+c3J3VDn3ERgdPf0ZzPUSEEFQOguEuTFvigMyGnLc/tWEsgEc/Q2CxANRKbJSMex2Lxo307GZI9Th2DlBzs2koAsnt/lmE3ZarkqjPMzfJgELwu0pMC9RePpalM1X385N7e4sktkj5T2B0tnuAwESvt9ifCIWD9BhUQosXfmb9tE8/q00dpMOIk07GELzxFHdUMTtIKIA9zKczizSVznvnCOMgt/SZCOojwoVgFInVZk6OF+pch5Xg7H5Bg== 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-SenderADCheck; bh=oINflLKdpJ2fXLRXatqUibciOwWYfwTIShjTF4d34G0=; b=CF/yB+X2NYTJrk8bc8luSknrQ3/xblXQxdoKqLLVNt0zAbyj0VF75BKMB+/QjfGC0JKUGcVFpjEY87Kw0paBVNoPEbEvUv+viNoRPpMBknSdVDZ3M+x4TGM6sNog7Yn1tykT/JHW+NsCT6fJSpLHitGVsENlakSwW1a9U1bFRPxMRA5/rB4m2mc2WxS8FOvgBeOv45pkLSF+mFINbIGUkkRxCBxC8e9WvtCKV87ukU7cGZNHu07b6UFweRFEn3v0maXFy0QvQQ7H+dp99eqXVMjgEKWKO0dsYrJYnN7X2hvg6GgkFICtu0CFKVYlh3qp5eEqQmxI8BijQneIT5eU2g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oINflLKdpJ2fXLRXatqUibciOwWYfwTIShjTF4d34G0=; b=V2DBXgLbTSsZWZM1c8L7VdnSmT7GbS4teYofojSfMxtAPhLjD3o5RZx9tqfQ3lUPEfo1q14XLwULdyhj4RQym93/JBdewDVA/faBqSVYhXyR5tmwjuq+CP8N3NKd9l27YThav/Mqk/DPQG9KQqk9UviSXZPQqLz6167zfv2CB6DWPQLs5xBse8xuo3rFfk4fMo+1TRoesPvmqs1r4xb2GqEqFrB5pqBWUQvltGhYTXGoni4ijU48iWIuJY1W6lm87UkjDVqL9r009uXKXGRyVJOgJRr7EH8waLJMYPkBUDwyOyturaoUYHw2Usg/oyysxYyyZWe6l/9fx+uoB1Sk0g== Received: from DM6PR12MB4987.namprd12.prod.outlook.com (2603:10b6:5:163::31) by DM6PR12MB4942.namprd12.prod.outlook.com (2603:10b6:5:1be::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17; Wed, 10 Mar 2021 07:08:20 +0000 Received: from DM6PR12MB4987.namprd12.prod.outlook.com ([fe80::f5ce:c5a8:6aec:e308]) by DM6PR12MB4987.namprd12.prod.outlook.com ([fe80::f5ce:c5a8:6aec:e308%7]) with mapi id 15.20.3912.030; Wed, 10 Mar 2021 07:08:20 +0000 From: Ori Kam To: NBU-Contact-Thomas Monjalon , "dev@dpdk.org" CC: "david.marchand@redhat.com" Thread-Topic: [PATCH 10/11] app/regex: fix usage text Thread-Index: AQHXFTxve9iUZk5FrUi5QTpIEeXY4qp8zRrg Date: Wed, 10 Mar 2021 07:08:19 +0000 Message-ID: References: <20210309233116.1934666-1-thomas@monjalon.net> <20210309233116.1934666-11-thomas@monjalon.net> In-Reply-To: <20210309233116.1934666-11-thomas@monjalon.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [147.236.145.126] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: afc81612-cf91-4f41-b448-08d8e3934929 x-ms-traffictypediagnostic: DM6PR12MB4942: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:483; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VRwiotZ8sUXENG8Kd22AHHRUttPprrkiwFtFuyrAJOa/INLYhV+cQWJJuAet4+4P7MzROqQ8wqVPC+5KJaixEW9jPK+iNNFmRULSqYnIdc6G/xiy7m3HNfB69ZjKVVbdaSt+hHkFOEQ8axz9k7cVkz/J1m1coMQSmlKdSkh90pDg1pflf/hYE0CJ6l7K7LU5KA0QHjQNqmiQiXMN1jVsBhvR+E4nnE6q+a4rRxWZIARTLFJ0wqCi/Ga+KBOEYHfud+4RJZ6CxwwtkZOLIui7aigYFZwiNVmLO4sb4JvAan3bfFo9Fja9OVccaQ74RTHUCdvimJI/5aZyD9qmlDvv/q/TDzBc1Fweovfz9fs0I1VgSCEX6ZsWASWyaCqTGNd1zGu1FSVKuKk6ImhYfaijDrHNumxWY3Wl6AoWJ5YUrescsod6vmBjJ5cU1Yz/41enYn8Tw76k++o3bdAFqlSxp6Bx9Lgu4FCFOGTK5UIEcqDx03PkcukEYND+aSygDxuxDpG4dEHZthJj71Xw3c7kLQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB4987.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(136003)(376002)(366004)(346002)(39860400002)(4326008)(9686003)(2906002)(186003)(8676002)(55016002)(33656002)(83380400001)(26005)(66556008)(316002)(66476007)(478600001)(66946007)(7696005)(5660300002)(6506007)(64756008)(8936002)(4744005)(52536014)(86362001)(71200400001)(110136005)(66446008)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?meu8HCs/zX2do7fqlYMNdDQAIAdgKdVishFRb07BfLZ0yqG9cQSP6gO7OCWt?= =?us-ascii?Q?dmyxq0zmG+hKhfiRvKOzPyBMtbVqyjLKfJ3dlba6u/xm30mT55Cv/e+AH3Ep?= =?us-ascii?Q?7g5sXeINA5H4K8WB0TIQ/H7d6qp/ZzaayLSCIlpz5Xg6pUow0CK3GrdgTX/n?= =?us-ascii?Q?Yxa/bh7N5vNzBZPIS7X9w0ILj77IqyUJwDrFxkdZ5Opnvlfm8p8mXUszFImG?= =?us-ascii?Q?PvBQR35gnQePxN9k4tAsfxUy9hXpkm+xW8KLA3/mm0PbjiArDQ7Cx0Is+LZY?= =?us-ascii?Q?SE+B/s/GgxRxPnfoQdVZ8ahT17QvDYA32/xQLuAXGQNRG9psZMJNEJ9sHsP0?= =?us-ascii?Q?Azem++GEJz00iMa8HvMi7BEWfrWGDkQKTx6QRSblJN56MP+bdMko2Q4wV0j5?= =?us-ascii?Q?OxPYm63fG7KUffsdnR2tp51kC/2wEbfb0MShPLCv0bhaXt2NhhgwezFepKH/?= =?us-ascii?Q?VE4mTMWZ0Vfi+vEiQjIsJM/sCEHxWcP7pXhz4xzS2/XtNLssujOUvbTClga5?= =?us-ascii?Q?rBygEJVHXTGO8Xlov9pS0WQRQ5J37Ey+QHhkQp9AkXvlwiaDLg1H9NXrg4B3?= =?us-ascii?Q?NoQ5dZOewKsh/DMadzhPjtlCQaDb9UcfpjLhvv3EUdVBGaSg/z4xEp4Kacrs?= =?us-ascii?Q?A/493dN1E2Yt3TGKJ1u6gCZ94MDT9uUUGnZRMev6XtAgGrwsYqNbZCXJ26tf?= =?us-ascii?Q?z41Gq2qkW1qJn6Qg3tfS2zIt8tOk9EYVQuiesIuYtBe/A6smF12DaXepcuuY?= =?us-ascii?Q?33/C1bS0xASFwrAhle00mJ82KXiiMVh0SPp/YPdWx2rmyXzp6+KaZSfjevOU?= =?us-ascii?Q?D8XHe2qg/CM4n/U0A4SXRPcayYNwA6gaLOr2yEOxfPuxtEgHlhVDA/CiY7nj?= =?us-ascii?Q?5aisipx9ekQSbKPekbCFbQZImF6bLGzck8BbKPDvLQU9gjApaqUifgF5/7DJ?= =?us-ascii?Q?/M80EPE3aZRCi+cApVvBDkTGyQfUoT6ceFB3G/PpjDmFVrl9Wiww0DdEsuWS?= =?us-ascii?Q?xKpsNm7+rYqE+XlHeCyTETW6vWH6hOnSEvMmHSLFRxsirvZkF+fjzu1ZBRcA?= =?us-ascii?Q?roICIbq0jyPtP64zoJS1LbC5NJUHMM5cWOWRfXUkM9wUclr+/cT46SF1TBTu?= =?us-ascii?Q?+TP2RwLJrBmPnE0Fo5xPNRqCxrj3cgUCEfZyoZYa2ln9JL0FtwwfvNbDI5EN?= =?us-ascii?Q?SCfB+ayj/GXZLEvl7xAMRU5yOhwPHACqQJFiJalZT3kv3XCJwQZ3NgVySRrh?= =?us-ascii?Q?x77fuPQF/LnhHmg7tCLGlK2jCVZYda57sY8okywN9HvxfujRjKYhtWco62gK?= =?us-ascii?Q?GxP/g1ZfpnNVYYVhJizwCTKv?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB4987.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: afc81612-cf91-4f41-b448-08d8e3934929 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Mar 2021 07:08:19.9373 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 3ukAjMBUz17K3cchbg8CDxFwTx43qyxgvdNfh1TBssnIifHxVNCl4PxqnS0WWPJ1VOsjjQyMc0FOMKGOqsvHhQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4942 Subject: Re: [dpdk-dev] [PATCH 10/11] app/regex: 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" Hi > -----Original Message----- > From: Thomas Monjalon > Subject: [PATCH 10/11] app/regex: fix usage text >=20 > The usage syntax help includes the program name which was fake. > It is replaced with the real name from argv. >=20 > Signed-off-by: Thomas Monjalon > --- > app/test-regex/main.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/app/test-regex/main.c b/app/test-regex/main.c > index ba09b20126..73ba227fba 100644 > --- a/app/test-regex/main.c > +++ b/app/test-regex/main.c > @@ -151,10 +151,10 @@ args_parse(int argc, char **argv, char *rules_file, > char *data_file, > *nb_lcores =3D atoi(optarg); > break; > case ARG_HELP: > - usage("RegEx test app"); > + usage(argv[0]); > break; > default: > - usage("RegEx test app"); > + usage(argv[0]); > rte_exit(EXIT_FAILURE, "Invalid option: %s\n", > argv[optind]); > break; > } > -- > 2.30.1 Acked-by: Ori Kam Best, Ori