From nobody Tue Apr 25 17:52:24 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q5V2R1fwTz46VKR; Tue, 25 Apr 2023 17:52:31 +0000 (UTC) (envelope-from phil@juniper.net) Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.pphosted.com", Issuer "Thawte RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q5V2R00YQz46rt; Tue, 25 Apr 2023 17:52:30 +0000 (UTC) (envelope-from phil@juniper.net) Authentication-Results: mx1.freebsd.org; none Received: from pps.filterd (m0108162.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33PDda9R012984; Tue, 25 Apr 2023 10:52:29 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type : content-transfer-encoding; s=PPS1017; bh=ZqajJ8YDc/yc0z5tz+RowmY6UT80StHfBdk5VdH8Zq4=; b=fTwMzL0vIBGq+WoXgMN0kPXd73okLhOuw+NLVk3wqZq7AJtan+f20x+VoFfm27ky8UlI ivgvS2UVTKAqn/Xi1zZ0yYb6+AEBVJSFUihkVGb6UfqXovGBfqO0RpxAxw2t1240/eYs GVrUv/1f6XcSJ3a1qNe85XT9BEbYIyLwLfFV9jrrDnGPd0bvoU1a14ZHs+p838TX27S4 1h3tPQB6UUp72KI2jPLmz5eYcCH1DIkuU6CsK8JZnVWfghBDoOwtIV2Ol4K9qwOcfms6 Z94SYn886AgmLMiegBjaPPI6uBrZkqPibFPdNFacCgQ5MzdvTnYpqansP/H9anBFJPlB Xw== Received: from cy4pr02cu008.outbound.protection.outlook.com (mail-westcentralusazlp17012025.outbound.protection.outlook.com [40.93.6.25]) by mx0b-00273201.pphosted.com (PPS) with ESMTPS id 3q66c59vmt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 25 Apr 2023 10:52:29 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mEG2Fty4idn1kQZs10qJb0rQh0VYYiCIf1llngAeStC8aZ3ufeXHwiY9ZyAE/uMcnCKXspXPkuapUVb6iEOVsMkFgG60IRLoepXZtZK00poKBix0Q62CYEVw4L9WqIIgBJzM/jgcLl1JDMwqUlfKkfHVit/OoxMj5RFGEt3o+zSN71DUlcDe7VQmpzzdzce8AGxyTzA/9ICQuHV1hRPLU/qJ9u1AOBTcbkLN9OYdny/kD29+QIZbj98yUOikSHCflGFsvH1AzMCLz5b+Wg5zooyOyKL+xVF604RK6sxw4O3+bd720hJQgrwRbMsfqGk1oRZg+hayJhXT0GOMochWCg== 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=ZqajJ8YDc/yc0z5tz+RowmY6UT80StHfBdk5VdH8Zq4=; b=On7OdfSDiY+nJpAbHWCLAQI/9d8/uMrGjf0o2INCHDmv1U4DKMLwPP9rRruzSQZW9IT9QtJBZC5a22+dTT8VJmuvSlTNdDNJjTInIKm3Z5BHpNuCnjQbmoR/bUQg5FT+An/Rn1RaBSfdZYTlpT0MNqw8NAoCvpGGXZ0zyRb6PJ8aRO1fScdIySamxFklH4pX0URYZuiNI2A/lVfbA3gQc7yp3eFNtMQbk2uE6q9xrtq+9P/VxETjzjRO0mwfj97Vad98PoVyWFsmNIteHEzsgkWmME9zLa2hYmplmSnbfo63QHr21b1aLD4KZWKozLIjBCEV0jOB3XukkmgcBpNpZg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=softfail (sender ip is 66.129.239.15) smtp.rcpttodomain=freebsd.org smtp.mailfrom=juniper.net; dmarc=fail (p=reject sp=reject pct=100) action=oreject header.from=juniper.net; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZqajJ8YDc/yc0z5tz+RowmY6UT80StHfBdk5VdH8Zq4=; b=LDxdYsO/h65IizqD41GjHPsraEgkg+ktuOH3hUm8pkt52szkQeiTboF3LjoEX8dDsip9LzRcE/2vh3DbXSQq2h/2dvmfO+riBQwSR3uv01h/zGlgVBCYbnJCypIMkVf0gXpZRLei65yYID6ysGFThbURGXp7Eu7Hpyzji/fga2g= Received: from MW4PR04CA0143.namprd04.prod.outlook.com (2603:10b6:303:84::28) by SA1PR05MB7902.namprd05.prod.outlook.com (2603:10b6:806:1a8::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.33; Tue, 25 Apr 2023 17:52:26 +0000 Received: from MW2NAM12FT100.eop-nam12.prod.protection.outlook.com (2603:10b6:303:84:cafe::fd) by MW4PR04CA0143.outlook.office365.com (2603:10b6:303:84::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.34 via Frontend Transport; Tue, 25 Apr 2023 17:52:26 +0000 X-MS-Exchange-Authentication-Results: spf=softfail (sender IP is 66.129.239.15) smtp.mailfrom=juniper.net; dkim=none (message not signed) header.d=none;dmarc=fail action=oreject header.from=juniper.net; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning juniper.net discourages use of 66.129.239.15 as permitted sender) Received: from p-exchfe-eqx-02.jnpr.net (66.129.239.15) by MW2NAM12FT100.mail.protection.outlook.com (10.13.181.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.4 via Frontend Transport; Tue, 25 Apr 2023 17:52:26 +0000 Received: from p-exchbe-eqx-01.jnpr.net (10.104.9.14) by p-exchfe-eqx-02.jnpr.net (10.104.9.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.7; Tue, 25 Apr 2023 12:52:25 -0500 Received: from p-exchbe-eqx-01.jnpr.net (10.104.9.14) by p-exchbe-eqx-01.jnpr.net (10.104.9.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.7; Tue, 25 Apr 2023 12:52:25 -0500 Received: from p-mailhub01.juniper.net (10.104.20.6) by p-exchbe-eqx-01.jnpr.net (10.104.9.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.7 via Frontend Transport; Tue, 25 Apr 2023 12:52:25 -0500 Received: from idleski.juniper.net (idleski.juniper.net [172.25.4.10]) by p-mailhub01.juniper.net (8.14.4/8.11.3) with ESMTP id 33PHqOMe021253; Tue, 25 Apr 2023 10:52:24 -0700 (envelope-from phil@juniper.net) Received: from [172.25.4.159] (localhost [127.0.0.1]) by idleski.juniper.net (8.16.1/8.16.1) with ESMTP id 33PHpJiG092539; Tue, 25 Apr 2023 13:51:20 -0400 (EDT) (envelope-from phil@juniper.net) From: Phil Shafer To: Mateusz Piotrowski <0mp@FreeBSD.org> CC: , , Subject: Re: git: 820ac126795b - main - ps: Add libxo to usage message Date: Tue, 25 Apr 2023 13:52:24 -0400 X-Mailer: MailMate (1.14r5937) Message-ID: <7A5CF76C-701F-4FA1-A598-84C5890157AF@juniper.net> In-Reply-To: <202304251525.33PFPsgT029785@gitrepo.freebsd.org> References: <202304251525.33PFPsgT029785@gitrepo.freebsd.org> List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MW2NAM12FT100:EE_|SA1PR05MB7902:EE_ X-MS-Office365-Filtering-Correlation-Id: bde21b18-6c85-49dc-2c69-08db45b5d4b2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1v8QfgL5ygKptCXeOF/UERgj7pgTmfgTlRFKXo3TfAoiDaQnP1le/VbxCbAbwCqAcFMRQAZHSUejMqz55lNPIYj8ip7vpo6u2dU4sV9V8CKmlflJwT4GuKEvGay91PyLemDlsjNk0c/BPW6z5A6JU4RN3Uzycbd1jGLxornRdMAx1mDvXwsDwsHPeSElYAu8A/mZrmGQtP82/Et/BZfFXBEWq/rmCR14qmUuz2Wb0P251nNI7VEDmJK5q2D6vMb+telFA6KGwdxFTXxFBD1VAXK8t9a8gNVUJqeHgECuiFIyYjPgpoIJcaIYl+WHplicUxJMiitFWMKkGIYEhyMr1gYbhnaZeAWmReL/MsN5xwlHKIvSAdxWJT4V7Fgx8sAcc/XQLWFlj+g675vEiUeH+k+HXQT08nklEl97Dz5Qse1/TH2tebb1tgOFnBo9FtfMrADgIzx2G/gBNPvIfM/g2uO2b2I281Qumqx4xMIUwUuKe7DkmpWfmU4YMcAsdJgsS55ML5UGkth9vECfJEk4xAyRjPvEyNBF81BigffuvC16Ii/v2341Qb3MEFxHAwrpYMNCyIeaU5fSV4QkNsjAtOPWqTSlxX02O4nziFp/n+lnEcRnjB1d8lO6iOVMdpZDyhtQvnMs50gOLAygFuCPNS03TnDcEvyng2xhDObRX8QdT9bGhnBXDRfWpC0VR27ZaCpwPIMr1dMvIsGNXh0xRSz2e5GVrpaf+27Sp4AsRFA= X-Forefront-Antispam-Report: CIP:66.129.239.15;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:p-exchfe-eqx-02.jnpr.net;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(136003)(376002)(346002)(39860400002)(396003)(451199021)(46966006)(36840700001)(40470700004)(966005)(336012)(356005)(82740400003)(81166007)(53546011)(426003)(26005)(7126003)(186003)(2616005)(40480700001)(8936002)(83380400001)(47076005)(36860700001)(15650500001)(2906002)(8676002)(5660300002)(33656002)(40460700003)(36756003)(478600001)(316002)(54906003)(4326008)(6916009)(70586007)(41300700001)(70206006)(450100002)(86362001)(82310400005)(36900700001);DIR:OUT;SFP:1102; X-OriginatorOrg: juniper.net X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2023 17:52:26.2432 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bde21b18-6c85-49dc-2c69-08db45b5d4b2 X-MS-Exchange-CrossTenant-Id: bea78b3c-4cdb-4130-854a-1d193232e5f4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=bea78b3c-4cdb-4130-854a-1d193232e5f4;Ip=[66.129.239.15];Helo=[p-exchfe-eqx-02.jnpr.net] X-MS-Exchange-CrossTenant-AuthSource: MW2NAM12FT100.eop-nam12.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR05MB7902 X-Proofpoint-ORIG-GUID: RKiMQ37wBNbluG5TjjKrR5bTPnysXa5i X-Proofpoint-GUID: RKiMQ37wBNbluG5TjjKrR5bTPnysXa5i X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-25_08,2023-04-25_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 lowpriorityscore=0 bulkscore=0 phishscore=0 priorityscore=1501 malwarescore=0 clxscore=1011 mlxscore=0 adultscore=0 impostorscore=0 spamscore=0 suspectscore=0 mlxlogscore=497 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304250161 X-Rspamd-Queue-Id: 4Q5V2R00YQz46rt X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:22843, ipnet:67.231.152.0/24, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N What's the best way to indicate this in a man page, given the variety of = argument styles that libxo supports? https://libxo.readthedocs.io/en/latest/options.html Perhaps just a "...", like: " ps [--libxo...] -L"); Or maybe just a trailing line like "ps supports libxo; see xo_options(7) = for details"? Thanks, Phil On 25 Apr 2023, at 11:25, Mateusz Piotrowski wrote: > [External Email. Be cautious of content] > > > The branch main has been updated by 0mp: > > URL: https://urldefense.com/v3/__https://cgit.FreeBSD.org/src/commit/?i= d=3D820ac126795b8b1c55009676fad3dfe5c7834b0b__;!!NEt6yMaO-gk!BWezOKAibnWb= TFCIF79DxR6aqZuqzE_lTO7PFGn4JOuinX8qlSYURqEJGZ_LKVAWxLVaKztuug$ > > commit 820ac126795b8b1c55009676fad3dfe5c7834b0b > Author: Mateusz Piotrowski <0mp@FreeBSD.org> > AuthorDate: 2023-04-25 11:55:17 +0000 > Commit: Mateusz Piotrowski <0mp@FreeBSD.org> > CommitDate: 2023-04-25 15:23:07 +0000 > > ps: Add libxo to usage message > > MFC after: 1 week > Sponsored by: Klara Inc. > --- > bin/ps/ps.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/bin/ps/ps.c b/bin/ps/ps.c > index dd1335bb4eeb..6f0cc76cd0b7 100644 > --- a/bin/ps/ps.c > +++ b/bin/ps/ps.c > @@ -1459,9 +1459,9 @@ usage(void) > #define SINGLE_OPTS "[-aCcde" OPT_LAZY_f "HhjlmrSTuvwXxZ]" > > (void)xo_error("%s\n%s\n%s\n%s\n", > - "usage: ps " SINGLE_OPTS " [-O fmt | -o fmt] [-G gid[,gid..= =2E]]", > - " [-J jid[,jid...]] [-M core] [-N system]", > + "usage: ps [--libxo] " SINGLE_OPTS " [-O fmt | -o fmt]", > + " [-G gid[,gid...]] [-J jid[,jid...]] [-M core] [-= N system]", > " [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,us= er...]]", > - " ps -L"); > + " ps [--libxo] -L"); > exit(1); > }