Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 May 2025 12:42:40 GMT
From:      Olivier Certner <olce@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: d5fff1aad54c - releng/14.3 - ps.1: Remove ambiguity in description of option '-J'
Message-ID:  <202505131242.54DCgeYF072626@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch releng/14.3 has been updated by olce:

URL: https://cgit.FreeBSD.org/src/commit/?id=d5fff1aad54c2e5a79d00d5781c9919ad11adcf3

commit d5fff1aad54c2e5a79d00d5781c9919ad11adcf3
Author:     Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2025-05-06 13:47:18 +0000
Commit:     Olivier Certner <olce@FreeBSD.org>
CommitDate: 2025-05-13 12:41:32 +0000

    ps.1: Remove ambiguity in description of option '-J'
    
    As stated in the previous commit, option '-J' was introduced by commit
    "Add -J to filter by matching jail IDs and names."
    (13767130c7147ae7182a, r265229), which unfortunately talked about '-J'
    being a filter while actually implementing it as a regular selection
    option which adds to the processes to display.
    
    The manual page's formulation hinted more at '-J' being a filter, which
    it is not, or could be just considered ambiguous, because of the
    presence of the "only" word.  Consequently, remove it and reformulate.
    
    Reviewed by:    ziaee, dch
    MFC after:      1 day
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D50194
    
    (cherry picked from commit cbda1aea6532697247bcca6e59d45775857c35e2)
    (cherry picked from commit 1586fd84fbdab2e2ec205ca717c69946805f2ba0)
    
    Approved by:    re (cperciva)
---
 bin/ps/ps.1 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/ps/ps.1 b/bin/ps/ps.1
index c1c2bcea5813..1267b1013f69 100644
--- a/bin/ps/ps.1
+++ b/bin/ps/ps.1
@@ -35,7 +35,7 @@
 .\"
 .\"     @(#)ps.1	8.3 (Berkeley) 4/18/94
 .\"
-.Dd April 28, 2025
+.Dd May 06, 2025
 .Dt PS 1
 .Os
 .Sh NAME
@@ -285,7 +285,7 @@ of the jail.
 Use
 .Fl J
 .Sy 0
-to display only host processes.
+to request display of host processes.
 Implies
 .Fl x
 by default.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202505131242.54DCgeYF072626>