Bug 268052 - Minor omission in ps man page
Summary: Minor omission in ps man page
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Benedict Reuschling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-28 22:45 UTC by Leif Pedersen
Modified: 2023-10-06 14:35 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leif Pedersen 2022-11-28 22:45:48 UTC
ps(1) documents -p as follows:

  Display information about processes which match the specified process IDs.

I think it's worth describing its interaction with -d, and that it imples -x. I suggest:

  Display information about processes which match the specified process IDs. -p implies -x. When combined with -d, all descendent processes are included.
Comment 1 Benedict Reuschling freebsd_committer freebsd_triage 2023-06-18 09:11:57 UTC
I'll take care of this. I already created a review here: https://reviews.freebsd.org/D40595
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-10-06 14:32:21 UTC
A commit in branch main references this bug:

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

commit d6ae056e9dc96c2db45982ac358ba9ed716a9202
Author:     Benedict Reuschling <bcr@FreeBSD.org>
AuthorDate: 2023-10-06 14:29:21 +0000
Commit:     Benedict Reuschling <bcr@FreeBSD.org>
CommitDate: 2023-10-06 14:29:21 +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

 bin/ps/ps.1 | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
Comment 3 Benedict Reuschling freebsd_committer freebsd_triage 2023-10-06 14:35:31 UTC
A patch for the man page was committed. Thanks for submitting the bug. It's closed now.