Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Nov 2023 19:55:10 GMT
From:      Benedict Reuschling <bcr@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: ba44650a0b1e - main - ps.1: update regarding -D option and -p x/d interaction
Message-ID:  <202311111955.3ABJtAO0004860@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bcr:

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

commit ba44650a0b1e3b0f52554380937a3ffc16d396f3
Author:     Benedict Reuschling <bcr@FreeBSD.org>
AuthorDate: 2023-11-11 19:49:24 +0000
Commit:     Benedict Reuschling <bcr@FreeBSD.org>
CommitDate: 2023-11-11 19:49:24 +0000

    ps.1: update regarding -D option and -p x/d interaction
    
    The -p option does not imply -x, it is merely a different mode that ps
    uses. Remove that statement from the -p option, effectively rolling back
    d6ae056e9dc96c2db45982ac358ba9ed716a9202.
    
    pstef@ introduced the -D option in 5c0a1c15ff8cb66128f4826ace8ba91e0a31486d
    which also turns ps into a similar mode. List the -D option along with
    the others in the first sentence of the second paragraph of the
    DESCRIPTION section for completeness and correctness sake.
    
    Pointed out by:         pstef@
    Differential Revision:  https://reviews.freebsd.org/D42552
---
 bin/ps/ps.1 | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/bin/ps/ps.1 b/bin/ps/ps.1
index c393b2e49c28..0afd53523854 100644
--- a/bin/ps/ps.1
+++ b/bin/ps/ps.1
@@ -28,7 +28,7 @@
 .\"
 .\"     @(#)ps.1	8.3 (Berkeley) 4/18/94
 .\"
-.Dd October 6, 2023
+.Dd November 11, 2023
 .Dt PS 1
 .Os
 .Sh NAME
@@ -65,7 +65,7 @@ will also display processes that do not have controlling terminals.
 .Pp
 A different set of processes can be selected for display by using any
 combination of the
-.Fl a , G , J , p , T , t ,
+.Fl a , D , G , J , p , T , t ,
 and
 .Fl U
 options.
@@ -238,11 +238,6 @@ So the header texts for multiple keywords can be changed.
 If all keywords have empty header texts, no header line is written.
 .It Fl p
 Display information about processes which match the specified process IDs.
-It implies the use of
-.Fl x .
-When combined with
-.Fl d ,
-all descendent processes are included.
 .It Fl r
 Sort by current CPU usage, instead of the combination of controlling
 terminal and process ID.



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