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.
I'll take care of this. I already created a review here: https://reviews.freebsd.org/D40595
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(-)
A patch for the man page was committed. Thanks for submitting the bug. It's closed now.