git: cbda1aea6532 - main - ps.1: Remove ambiguity in description of option '-J'
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 07 May 2025 09:15:35 UTC
The branch main has been updated by olce:
URL: https://cgit.FreeBSD.org/src/commit/?id=cbda1aea6532697247bcca6e59d45775857c35e2
commit cbda1aea6532697247bcca6e59d45775857c35e2
Author: Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2025-05-06 13:47:18 +0000
Commit: Olivier Certner <olce@FreeBSD.org>
CommitDate: 2025-05-07 09:14:55 +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
---
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 24d8f98b1f73..1c964157f53f 100644
--- a/bin/ps/ps.1
+++ b/bin/ps/ps.1
@@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd April 28, 2025
+.Dd May 06, 2025
.Dt PS 1
.Os
.Sh NAME
@@ -289,7 +289,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.