From nobody Tue Apr 25 15:25:53 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 4Q5QnF598Hz47Kh8; Tue, 25 Apr 2023 15:25:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q5QnF4dvBz3jrY; Tue, 25 Apr 2023 15:25:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682436353; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CA/X2ZoOiGr/zATLkrZmlIpKI5LVl3kaTXetSQJWxUE=; b=ONsQ3NgRdf3O+XhnuaOJjErmMwLIL6gv8OYfkDOrHuTnLUPBZS6q+O+LmIaSldHLFvL8vI 5Nn83SQZJJhZg1gaX/xmcqwX4GH2O9sebFvqD39k8yOJWmeIzGrh7xtaxZZ/gDjZZNN1jQ ev/7wHL9hFnUh4NbtnS7t6GxCV8rFVG9VNLvvkhLRsupvB2OtbWyHiaOzdWOBKAFSoIYOx 9gdTYrZQ3CiKKj/rvGOnao/sa0WE1sk/8URuUcNLTHG+dW4PcsneiJlARImzf086R6p62k 7gERymABaAO5ZAKJor/zxi2k9mb7AOGwbFP1YMVngeaoRkcYA+0SacYgkTRosw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682436353; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CA/X2ZoOiGr/zATLkrZmlIpKI5LVl3kaTXetSQJWxUE=; b=HvU5Eeu0p0SCi85emmhB2ucz+e2w9CttT6b2gqBqWNqxYaMCOszAu05aNK0Yve3eMHaz7H HF6SLonc+XZ1066EeOgv5Akiuf2EBZ3zUouBxeSw7ODAmAc5OlDSbz+d0vFmIUMG7pEAnI 9BPi13HUlSiYdMju21AKWJvdmnVjG5xw7Uo8sNxVo5035Gy92YcFVKx9eYCW2TDKpExys5 86A9Qtg8KvJbTr0jWIHHRBnBUE7AxQVdBJUk3sh4FMbON2zDBmqKsp0rEvqL18Q1Hkl5R5 tuLd4unG/8i1iUUqEssJMIINO3/Ppbz48KNj7ByPPNXdEwAWuM6AoYVXsOfxBg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682436353; a=rsa-sha256; cv=none; b=ftZRqm0aoZdZXGx7ptzFAh0EQ8YrwvZYFvkTUw5JfQg5B8OxA8fFzZaOlQNZ2H9UORZatO wWIEAebv/Kj8nwZsk18bda5knh/lpGNMMAvn+R4bvF17/QVxQQrgIopCrzhUN5K7HsVtvK oUXU7XqOviyEGzV7bpJ3BF1ysLeZ7lsx4WHftizHPimGGVBGL8qcmUSRh+JFBk4Bv1j3Nc kIEgRi5MAXfQHwBGOGDhOsN+O2Mp+rR7XsEtv1yEcGIQoFtTFHOqQcMOn+ftuTmM2Eh9uc NH2SujxD6pGDuw//bzPlvHqy0HhvspUvZ+0F1ekOKYPhRWt8wBNH6p7PcjPpTg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q5QnF3hMdz1C5t; Tue, 25 Apr 2023 15:25:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33PFPr0s029767; Tue, 25 Apr 2023 15:25:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33PFPrTq029766; Tue, 25 Apr 2023 15:25:53 GMT (envelope-from git) Date: Tue, 25 Apr 2023 15:25:53 GMT Message-Id: <202304251525.33PFPrTq029766@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 3f46bf40a1b2 - main - ps: Fix synopsis 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; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3f46bf40a1b26c49b53df4ec504757c5d8c9f921 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/src/commit/?id=3f46bf40a1b26c49b53df4ec504757c5d8c9f921 commit 3f46bf40a1b26c49b53df4ec504757c5d8c9f921 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2023-04-25 11:38:10 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2023-04-25 15:23:07 +0000 ps: Fix synopsis In the -L mode, the -L flag is not optional. MFC after: 3 days Sponsored by: Klara Inc. --- bin/ps/ps.1 | 4 ++-- bin/ps/ps.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/ps/ps.1 b/bin/ps/ps.1 index 25373adb7d73..bc760c174c11 100644 --- a/bin/ps/ps.1 +++ b/bin/ps/ps.1 @@ -29,7 +29,7 @@ .\" @(#)ps.1 8.3 (Berkeley) 4/18/94 .\" $FreeBSD$ .\" -.Dd June 27, 2020 +.Dd April 25, 2023 .Dt PS 1 .Os .Sh NAME @@ -49,7 +49,7 @@ .Op Fl U Ar user Ns Op , Ns Ar user Ns Ar ... .Nm .Op Fl -libxo -.Op Fl L +.Fl L .Sh DESCRIPTION The .Nm diff --git a/bin/ps/ps.c b/bin/ps/ps.c index 89d90b78f2b0..dd1335bb4eeb 100644 --- a/bin/ps/ps.c +++ b/bin/ps/ps.c @@ -1462,6 +1462,6 @@ usage(void) "usage: ps " SINGLE_OPTS " [-O fmt | -o fmt] [-G gid[,gid...]]", " [-J jid[,jid...]] [-M core] [-N system]", " [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]", - " ps [-L]"); + " ps -L"); exit(1); }