From patchwork Mon Mar 25 05:49:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Date Huang X-Patchwork-Id: 13601605 X-Patchwork-Delegate: dsahern@gmail.com Received: from IND01-MAX-obe.outbound.protection.outlook.com (mail-maxind01olkn2018.outbound.protection.outlook.com [40.92.102.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6E0291487E9 for ; Mon, 25 Mar 2024 05:49:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.92.102.18 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711345775; cv=fail; b=rIyIZsH3UeZwXJNKG9trY9WjEHnTtKRygIZcj87+yyOA+dqK/HX//gMLfQhGk3OyAzZTMSGjJcPsP0vPvNhN24BBKOkjTstcvatDxlpBgewNnqTJR+7uPOUcdKe6XMUmni+jVgXZU4KKpaWLK0hhPwmtssaMS/fxcHnogbmTp/Q= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711345775; c=relaxed/simple; bh=rqVDVeVXwnt4m3SKsUtkQKCcSoTMJmjF523xVt4yRgQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=jpzYzo+ZwYhri6/T8yP3cU8YfjcIjZy1DqegTjnjYCY5ISMa77W2taQBD7XiWJDccmBBw0ClIsLbU9WW3tcnmxS+J1kjo0r1FWg7HmiFcS9CRQiknfsbggJBm4WSyKDnfXOcLdHslsvBia22ruNl7oJkkV70R7a2x575j/ylLW8= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=hotmail.com; spf=pass smtp.mailfrom=hotmail.com; dkim=pass (2048-bit key) header.d=hotmail.com header.i=@hotmail.com header.b=OAieKyps; arc=fail smtp.client-ip=40.92.102.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=hotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hotmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=hotmail.com header.i=@hotmail.com header.b="OAieKyps" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O7W801JpGhuXtu2awSUQ/XC1la3txrf+GBAROZAcedtbbBbxPBk/vVzkXpDafLkPq22Psw53UBSu/fYULzUv+G1p65Xb4AN6VFqi1KoxYcrlCNzoBccHpE1NdFnGLaZnpfx77bsOP8Bq8MwiMqHP8MTwOHT1G23XViq7uKn2Y13zefdahmK5yRkQtL7GSCqYi4ukGogxFwjG861teAGy1aqsq58HBEqmsSUb6r+wBv/UchUOpyLcO5DVBzdOpjhqTL2hu8Pg1Vi3PNGLXWhdECQAwfo9Cw8W3lHc+TITv9m7TTZ2jDZ0ncE3BpZ8N+3HT5e+Z9qg21qscncjaeeB2Q== 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=qD4wfgvCq6QhPkiX0yJxaYFYOKl1N2n5Qr3l9JsldPI=; b=GV4YsUKMre363bDZ6Tq/OTFhes9qiuI1k06m2d6RUb+ClWtxxWfInBog7Jc0NutHbkq+LuOI1K+vw5WbepplepXxqevrSFHjgQrm8kZ/aHuvjEaIq3cDjyaYql2tQBXLycLSZrSyuCy4Mwk3TJZU6Ctk4Uem/jXqDSNYcv32rfPjqrJdqBR6lE5i4Z4HwbdsTmbliES0hKbZsM9vHTlx2CRiN//o8ecW4U4Jb1QEQ/TcW0yAevfp9sfsc1b1As020UcgjUhzeO38bxRSLaEwvn2waDTavVL2xtDKyIoF7JCz1IdIM8E3+N07FUKN5VH+WGZ1iFG1mkfY1D+YLp1eEg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qD4wfgvCq6QhPkiX0yJxaYFYOKl1N2n5Qr3l9JsldPI=; b=OAieKyps2uCq36e70Ddg1gHS+3zAPQkEKl3/VwkESIlBInBFoEhwgx0y++fY8GDHDMv6JiRhwTqYP9mTCbHsR1MjCU8KsnSTggB8Rga+hcs+3pGLgiuH4hFb+68Zecs33QugBwQ04EMgiuzv4lP6aXsewpjdkw0KTx9k1PO+55sLdEM8TPed76bBH0SvkaNZt5TdtggoUunTWUIVwIls73nyXoYfzX3cMK8IKKlUycTfsK1blbXMuY7JslUIzM1xuIJP6rXHpgiGmi9w+YiDUhd/dVjZVLpyQcVgKquHA1QLdEIzSYDFN/4xvCMokwUoM4fH+V4eh1olRz/V3GWXzw== Received: from MAZP287MB0503.INDP287.PROD.OUTLOOK.COM (2603:1096:a01:d3::8) by PN2P287MB1744.INDP287.PROD.OUTLOOK.COM (2603:1096:c01:1ac::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.31; Mon, 25 Mar 2024 05:49:29 +0000 Received: from MAZP287MB0503.INDP287.PROD.OUTLOOK.COM ([fe80::be9c:e08:2db4:9a60]) by MAZP287MB0503.INDP287.PROD.OUTLOOK.COM ([fe80::be9c:e08:2db4:9a60%3]) with mapi id 15.20.7409.028; Mon, 25 Mar 2024 05:49:29 +0000 From: Date Huang To: roopa@nvidia.com, razor@blackwall.org Cc: netdev@vger.kernel.org, bridge@lists.linux-foundation.org, tjjh89017@hotmail.com Subject: [PATCH iproute2-next v3 1/2] bridge: vlan: fix compressvlans usage Date: Mon, 25 Mar 2024 13:49:15 +0800 Message-ID: X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240325054916.37470-1-tjjh89017@hotmail.com> References: <20240325054916.37470-1-tjjh89017@hotmail.com> X-TMN: [Q1tAvA4drrePPfxYQ8Melxm3DaugXX2z5ApQWRhPIqQVdUEov3ju3fDfl7pIpGCE] X-ClientProxiedBy: TYAPR01CA0172.jpnprd01.prod.outlook.com (2603:1096:404:ba::16) To MAZP287MB0503.INDP287.PROD.OUTLOOK.COM (2603:1096:a01:d3::8) X-Microsoft-Original-Message-ID: <20240325054916.37470-2-tjjh89017@hotmail.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MAZP287MB0503:EE_|PN2P287MB1744:EE_ X-MS-Office365-Filtering-Correlation-Id: 219062c4-0ce9-4dc0-6581-08dc4c8f5633 X-MS-Exchange-SLBlob-MailProps: Cq7lScuPrnqkjmXb1vlddM5aSa/Epk3AjG5lqiwNHkFp3cf2RhGoYfQGW0jZulDR9DB/qyL6idhFwfCqn/zeDTTmlpdX19+ctrEZt758YzxcJMWmZ2idpFv3to2M72RTUBxrmBfe/fJLcoB4fcE/z9zj8BE+Q1ykxDrO7L95VUpVqUJ88ZFiwgVF+MKRnb5XE83TDUtkqZ+wnoGktG/NQQGyniWtbD/CquQHKElG2E2wvyAhb9f2asNQNN6puXhwrYhPgFl28dB1M1bKHepg8dW1erzYn1o8ZU1W2xdpfqdd1Fa/PZfd3V00rhzqIUC+v0K9JR8g7Yi5AtdItdq54PP8UWY/BjHr81R5KQ4M/W9F2dP3i/FLuyEpFrGHcmAZJbrOl37qHdGS+oEz5qQyeU600TkVAEAGuKemnELbnlHxgH52L8QnPA2FXF4i4TWAyumfeLJMpnVOOkJTDPD3B3FzrjeaE32rRbw3/vDUK3xiQ9XwG6HrpGEwv+oouB/x2K0oIZM2OEWMSqG8dNDLTn28xv8PjvZf5wgbImPnBuv/grpTOg+KdhtsTVNJ3Ua5UP2umITLpDVuHLfsclOh72Jpk0wnmVR1k+PRt6nz5+aqYk2bs07VO2oupTQGMRrczGUuBsWBswlIlWENPM5IJWDmhK3w7WhNKfpHHtkuGXLmri1lAqGC1dimE7LA5zcUefeejgxyDBpN4J+Ob/3F5TFC0hGPcwmqOPJV6rfVStDzbXIF4s38YcXMSPwUGbdZxlyaXapZIKk= X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BYAndbaDgP9Y6gZjNHuOX+C4YL/OQ0U4U6k/iljloZ8IAFL/5O4WgGq0bPthrGxMZZlGsElCx0Q11q3f0AmwdAJS21+zqYthFcjgdnbT/6wUeygAK8LJMATFC15mAgDxjGjcXgCdrxhpa+W7qu2iezBuiRyvxhN/c34NuSkcFTbrDoHHdv3PJvVPI7C2kFg1dM6BK3uJsKx0oQZ/bQ9btUT3ng5ECsYtQXZI8Y1r13g09KvBboJaPNQ2VGXNUjP/LkctlZsnFVdOzle/O88ZD++gyZm4PUyNZ++nYidYzPcoBNbvSCTTfn45v9NfszHAI0b+G1uEPRybG5RqZu7u1VgzbM8TwSI+0l9pLd/WYKFCi6WWnSMhpJY6JfXkIH02hWDKD745tU1gorLlNh9MONWmku498xPySas0jEm+xNaIFK6cYeGk8+OrTRaMGGL2W/vf43xieYNcPnzYaRqI9MeeqWng69PYUs0tV58T3uS8Pdwgy5alZuDd8dYnzeX3SFBHEc5JzR8b3bA1dFIOfJsoM2fs270gqc0irdMsqx+W7nepQ4/5c2vxdexydIam6bAtET9pxdMH61ee/6Yi5XMRA3Hw8hAGidV65JYMwYHjmU42tjXiqVaAgAEKP9Fv X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: d7eaAxJyso59o5X/mFWK4Z5P1tzMZFPph4MjzmlLPt+qMtvl2dWOjIxvnCm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wj44P+y+hTvLnCa3hg5I+5/svKNqwmR5cN0QOPvWqR+8aCvK+SXHhF23b+SNHUcqM8adVn6eJ0yDar000giAyTd1Ql4XU4fcljS1h2u/pmjIc19TwWBSQ12GJZznxZESK7zMxhnpFn1RdjAt5FekSfolr0oFn3e+pw19AOPWhxl+OWatpLHBlOaQrUiw= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-bafef.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 219062c4-0ce9-4dc0-6581-08dc4c8f5633 X-MS-Exchange-CrossTenant-AuthSource: MAZP287MB0503.INDP287.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Mar 2024 05:49:29.4335 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PN2P287MB1744 X-Patchwork-Delegate: dsahern@gmail.com Fix the incorrect short opt for compressvlans and color in usage Signed-off-by: Date Huang --- bridge/bridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge/bridge.c b/bridge/bridge.c index f4805092..ef592815 100644 --- a/bridge/bridge.c +++ b/bridge/bridge.c @@ -39,7 +39,7 @@ static void usage(void) "where OBJECT := { link | fdb | mdb | vlan | vni | monitor }\n" " OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] |\n" " -o[neline] | -t[imestamp] | -n[etns] name |\n" -" -c[ompressvlans] -color -p[retty] -j[son] }\n"); +" -com[pressvlans] -c[olor] -p[retty] -j[son] }\n"); exit(-1); }