git: b4fb6e033914 - stable/14 - Extend description of -p to include interactions with -d and implying -x

From: Olivier Certner <olce_at_FreeBSD.org>
Date: Thu, 01 May 2025 19:51:20 UTC
The branch stable/14 has been updated by olce:

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

commit b4fb6e033914858c0454d8825cdf1f7df12ed295
Author:     Benedict Reuschling <bcr@FreeBSD.org>
AuthorDate: 2023-10-06 14:29:21 +0000
Commit:     Olivier Certner <olce@FreeBSD.org>
CommitDate: 2025-05-01 19:35:02 +0000

    Extend description of -p to include interactions with -d and implying -x
    
    PR:     268052
    Event:  Oslo Hackathon
    Differential Revision: https://reviews.freebsd.org/D40595
    
    (cherry picked from commit d6ae056e9dc96c2db45982ac358ba9ed716a9202)
---
 bin/ps/ps.1 | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/bin/ps/ps.1 b/bin/ps/ps.1
index 95f7f15e26ad..368d50b46abc 100644
--- a/bin/ps/ps.1
+++ b/bin/ps/ps.1
@@ -28,7 +28,7 @@
 .\"
 .\"     @(#)ps.1	8.3 (Berkeley) 4/18/94
 .\"
-.Dd August 24, 2023
+.Dd October 6, 2023
 .Dt PS 1
 .Os
 .Sh NAME
@@ -238,6 +238,11 @@ 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.