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 E03B5A0503; Thu, 28 Apr 2022 04:03:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8406340691; Thu, 28 Apr 2022 04:03:58 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2095.outbound.protection.outlook.com [40.107.244.95]) by mails.dpdk.org (Postfix) with ESMTP id 5DF7F4068F; Thu, 28 Apr 2022 04:03:56 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OCoLUa8Hcw2h7p8rpTpbGkaouAougmbKBO3LYHTMFeGOtKaiu8NSmYWc4M8FGCeWMtrPVXoltQx2ZFIDZnGvBSnGZuJyWZ0P86Otl3eDBNjNdwmz1H/KjufkxSf5pRTCZKhIOcpdOGEfiDTwUoY6GsIve4azNF+KuKJAXG3W2umrYQdwWf/bBPj0pv8jrFwo2g6qGcwfPmbJnGIaAK8gC9Y1OrTZQYzCpFQXeeYSWe1XCZGdYWpCGecr9072qR9/7PCjP1+SM3M5eYwKrEktVnfMb/pWavfeY6cmUXUDVq8LRHrDe0c5hv6FKEHZ5kmsQUM4EN/mLOwbMM/p8le3yw== 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=QgpgalG5oxVrvz5lp49m8DVzZqXMOX7PtyvR7TbZGhk=; b=KJ6mJ/W0vpkEUwZQ8SCoBo4lrDfAM2IbmIHxa6DRB1s/oRflwdoP6vIW0kk0GDoFBANyyC3yNEvCXmg37CzeW3iyZZRtHJpmA60cmNUNA0sxOBj6wDmF0jmi3D4fWJkZM+TQZsA2FZYhLRYqOTL5s5Fopp4igOxRDWUgkqISyn3FEXx8ao4ebpLC0pZ5g108aRBUk/GZeBhF449XEgyxe7zDw9qDlDj6eqWIcvLqdiYfVREDt1cy5aN4kXRzNrRPW8grzo5Y1bgtbZOoXG/y1rm0PBYIEpBr3htoeEhDlnNsZC2df/nvyl4Bd6mIseyT9ZLHbC/HuwwLqbDAk0N6CQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QgpgalG5oxVrvz5lp49m8DVzZqXMOX7PtyvR7TbZGhk=; b=YLWbPU/32H/PyFCiDR+MGanzvn/XSDYfxlWkagAXuXa68Bs7wYC9bUd+M4r5WvjMXA9gzOvq2oNXLSDdRxM+ffEyIAp2HE41aHuZTc+xdWDEEU8vZMB3H+mWBMFczdfRFhdQugnZrQNUMp6DZBmEDfDiPQFWMtf+7I5GQLPopz8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from MN2PR13MB3006.namprd13.prod.outlook.com (2603:10b6:208:137::23) by MW3PR13MB3964.namprd13.prod.outlook.com (2603:10b6:303:5d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.9; Thu, 28 Apr 2022 02:03:52 +0000 Received: from MN2PR13MB3006.namprd13.prod.outlook.com ([fe80::8b9:3f1b:bb6a:c708]) by MN2PR13MB3006.namprd13.prod.outlook.com ([fe80::8b9:3f1b:bb6a:c708%6]) with mapi id 15.20.5206.012; Thu, 28 Apr 2022 02:03:52 +0000 From: Jin liu To: dev@dpdk.org Cc: niklas.soderlund@corigine.com, Jin liu , stable@dpdk.org, Chaoyong He Subject: [PATCH] app/testpmd: fix help of create meter command Date: Thu, 28 Apr 2022 04:03:32 +0200 Message-Id: <20220428020332.1811553-1-jin.liu@corigine.com> X-Mailer: git-send-email 2.27.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P123CA0440.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a9::13) To MN2PR13MB3006.namprd13.prod.outlook.com (2603:10b6:208:137::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d268155a-39ae-4110-d328-08da28bb578b X-MS-TrafficTypeDiagnostic: MW3PR13MB3964:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: j2whCOwFIWnA3ISPKY51U+E1ZuD0EO8lI8QUdRaHQV9U3U3l9QCDet67w8HYSOedIH/D0tnL9OyrcPuZkigtTMmW4kCAIG6lE6ML0ECdLjztqQlPL9qcHzXCdYppADRRYKVy6rF2tqfxnecir6wSHTG6r0mEUHlRuylMuJgVLpixuP8ivn6AkYD21haA+DdnIl71uWvxmPruoJsSW9lH+dzGymzowdIqSM3uS8MVk/DFgOkA09WG9RvP7TLwkcljyCSaEQTdT/cT07OXZcu7VJT9BXLAluwIGRFa4EL37h4MbUnEHmIcjIKNYWmiVeEvjkq2sufLPtBY3ka7Qv0dub6sKZ/Gq1AMMHmq9m28YbSsvrWy5oKuhVIJdagyOzcdtbRwSsSZW8cJIDG4/jmAxsYAwksnODkEQaAKdB/4DTXMHjylPh7i2V1El9m+G4Dz6V/R2oinxmIvv7EQIHjsnAroGlcqVZVujbkd+xYb73cpjl0fLSVHTe05ZMMSW5RxVJvxIBQ6rwNChu4zElEOWQ6pf5Hz3ICTAJoIlncvM3/T7D3rKMtYi2XTd5Vuq9KzAoP+a8b9i15gXFpH5/CRt0Ib0QIFJ+vvxhsEI1MaJutgZO/XSt6QiBE0c/YY8ZoTpqLs2WAkFwya2g84y3Gi1HrybYpbiThTCxQieaj8CZcmJGoTVOz3k/aPNsMRJsHHgKC6OSZ+w3B14dyekEHIsfc1swGLZGmRdJbctEoCXhiBClKafLeLRDS23zpY/XT5 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR13MB3006.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(136003)(346002)(376002)(39830400003)(366004)(396003)(36756003)(38350700002)(508600001)(66476007)(66556008)(66946007)(8936002)(38100700002)(450100002)(4326008)(8676002)(6486002)(26005)(107886003)(6506007)(6666004)(6512007)(66574015)(52116002)(83380400001)(5660300002)(2906002)(86362001)(54906003)(1076003)(2616005)(6916009)(316002)(186003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?L0ZTYnVUNEF2cVE3OHg2OHhKUERacHFwVjh6cElPaUl0YTBwNysvMjJQekYr?= =?utf-8?B?Y1ZNN1BOeTM5NDVBakxvQzBYZjZKeHdIZm9SdU9VWXhnWWFoTnY1NmRQdHlN?= =?utf-8?B?dGhyN01SK2Y2TzRmeTdMWXdRdDFrbTBWaUZqdGM1bmdyL1VTRm90YnJ0aXMv?= =?utf-8?B?Y1ZuaVZjUnFkMUpTaTNiY0FoUlQ1cmIwaENSS1dRV0VhSkt5ZW5YMjZwS0pz?= =?utf-8?B?LzJNTGpvQ3Ntd1dOSnQ4MEdqZU0wWDJmYW9PWW9tTnJncndmYjQ3Um9NUE9Q?= =?utf-8?B?WFJ1TkxhbFEzZ1psdUFqZFRUSjZ5bmVqRXJKSnRVZGx3OGg5S1JFZlEvVmxj?= =?utf-8?B?U2N2WDhCVDZjQUpjNUl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EN1h0ZXphLythakc0?= =?utf-8?B?WFM3MDFoWjZGNGtBVmtMWmowLzJxR0pBSDlRT0diR0lCN3BleUxPVVVlZXQv?= =?utf-8?B?WGd2cGVNaWRNU2pQTUF3emxMbmE3TVVlNDN0V1JRVlUrQkJSYjBKVUcycU1a?= =?utf-8?B?eGtsY0o0cWdZakhJQzFZM0JPNWpUa29CaVpzM0VMSzZvKy9VNWM0QT09?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: d268155a-39ae-4110-d328-08da28bb578b X-MS-Exchange-CrossTenant-AuthSource: MN2PR13MB3006.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Apr 2022 02:03:52.2091 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: oTpVej+6KOQdrn5ykPURW23H63QRSWoGpHKpJw2NqMoxLOx0RJQdqd4PQEcdGmhBAoB73OCySeP3KM4pEGl6dQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR13MB3964 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 The help message of create meter command is incomplete, lack of policy_id param, update help string. Fixes: f29fa2c59b85 ("app/testpmd: support policy actions per color") Cc: stable@dpdk.org Signed-off-by: Jin liu Signed-off-by: Chaoyong He Signed-off-by: Niklas Söderlund --- app/test-pmd/cmdline_mtr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test-pmd/cmdline_mtr.c b/app/test-pmd/cmdline_mtr.c index ad7ef6ad98..a0f885f190 100644 --- a/app/test-pmd/cmdline_mtr.c +++ b/app/test-pmd/cmdline_mtr.c @@ -817,8 +817,8 @@ static void cmd_create_port_meter_parsed(void *parsed_result, cmdline_parse_inst_t cmd_create_port_meter = { .f = cmd_create_port_meter_parsed, .data = NULL, - .help_str = "create port meter (yes|no) " - " " + .help_str = "create port meter " + "(yes|no) " "[ ...]", .tokens = { (void *)&cmd_create_port_meter_create, -- 2.27.0