git: e06bc4821edd - stable/13 - ps: Add libxo to usage message
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Jun 2023 10:58:01 UTC
The branch stable/13 has been updated by 0mp: URL: https://cgit.FreeBSD.org/src/commit/?id=e06bc4821edd7d4d69bd27b7d40ef30aa7c2f234 commit e06bc4821edd7d4d69bd27b7d40ef30aa7c2f234 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2023-04-25 11:55:17 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2023-06-05 10:57:13 +0000 ps: Add libxo to usage message MFC after: 1 week Sponsored by: Klara Inc. (cherry picked from commit 820ac126795b8b1c55009676fad3dfe5c7834b0b) --- bin/ps/ps.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/ps/ps.c b/bin/ps/ps.c index 141b57cfd683..b4b1c5c01730 100644 --- a/bin/ps/ps.c +++ b/bin/ps/ps.c @@ -1460,9 +1460,9 @@ usage(void) #define SINGLE_OPTS "[-aCcde" OPT_LAZY_f "HhjlmrSTuvwXxZ]" (void)xo_error("%s\n%s\n%s\n%s\n", - "usage: ps " SINGLE_OPTS " [-O fmt | -o fmt] [-G gid[,gid...]]", - " [-J jid[,jid...]] [-M core] [-N system]", + "usage: ps [--libxo] " SINGLE_OPTS " [-O fmt | -o fmt]", + " [-G gid[,gid...]] [-J jid[,jid...]] [-M core] [-N system]", " [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]", - " ps -L"); + " ps [--libxo] -L"); exit(1); }