diff options
author | Igor Sobrado <sobrado@cvs.openbsd.org> | 2024-05-18 13:08:10 +0000 |
---|---|---|
committer | Igor Sobrado <sobrado@cvs.openbsd.org> | 2024-05-18 13:08:10 +0000 |
commit | d0767bab28085c865941f84f4be2a20cba4e86b0 (patch) | |
tree | 79982ee04c2b6afda3d40fe4ec2ddfdebd572700 /bin | |
parent | 9186bcf09fddf5dfc0d862cce4c8e76b78fbeb96 (diff) |
prefixing flags to ps(1) by a hyphen is optional; while here, make synopsis
fit in a 80-column display.
ok jmc@
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ps/ps.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/ps/ps.c b/bin/ps/ps.c index fe62dad044e..b43765f422a 100644 --- a/bin/ps/ps.c +++ b/bin/ps/ps.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ps.c,v 1.80 2023/11/10 09:17:02 kn Exp $ */ +/* $OpenBSD: ps.c,v 1.81 2024/05/18 13:08:09 sobrado Exp $ */ /* $NetBSD: ps.c,v 1.15 1995/05/18 20:33:25 mycroft Exp $ */ /*- @@ -623,9 +623,9 @@ forest_sort(struct pinfo *ki, int items) static void usage(void) { - fprintf(stderr, "usage: %s [-AacefHhjkLlmrSTuvwx] [-M core] [-N system]" - " [-O fmt] [-o fmt] [-p pid]\n", __progname); - fprintf(stderr, "%-*s[-t tty] [-U user] [-W swap]\n", + fprintf(stderr, "usage: %s [[-]AacefHhjkLlmrSTuvwx] [-M core]" + " [-N system] [-O fmt] [-o fmt]\n", __progname); + fprintf(stderr, "%-*s[-p pid] [-t tty] [-U user] [-W swap]\n", (int)strlen(__progname) + 8, ""); exit(1); } |