summaryrefslogtreecommitdiffstats
path: root/bin/ps/ps.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-02-09 17:37:39 +0000
committerru <ru@FreeBSD.org>2005-02-09 17:37:39 +0000
commit978b8f7f1d9acca15190b3e1c3c13206ae9ff3be (patch)
treef2459cf124e940897222cf3c2d1d840dc7a981a5 /bin/ps/ps.c
parentecbdad392c9834599fff9cd2683900672354f4c0 (diff)
downloadFreeBSD-src-978b8f7f1d9acca15190b3e1c3c13206ae9ff3be.zip
FreeBSD-src-978b8f7f1d9acca15190b3e1c3c13206ae9ff3be.tar.gz
Sync program's usage() with manpage's SYNOPSIS.
Diffstat (limited to 'bin/ps/ps.c')
-rw-r--r--bin/ps/ps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ps/ps.c b/bin/ps/ps.c
index 2bedc17..73a6121 100644
--- a/bin/ps/ps.c
+++ b/bin/ps/ps.c
@@ -1191,12 +1191,12 @@ check_procfs(void)
static void
usage(void)
{
-#define SINGLE_OPTS "[-aCc" OPT_LAZY_f "HhjlmrSTuvwXxZ]"
+#define SINGLE_OPTS "[-aCce" OPT_LAZY_f "HhjlmrSTuvwXxZ]"
(void)fprintf(stderr, "%s\n%s\n%s\n%s\n",
- "usage: ps " SINGLE_OPTS " [-G gid[,gid]] [-O|o fmt]",
- " [-p pid[,pid]] [-t tty[,tty]] [-U user[,user]]",
+ "usage: ps " SINGLE_OPTS " [-O fmt | -o fmt] [-G gid[,gid...]]",
" [-M core] [-N system]",
+ " [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]",
" ps [-L]");
exit(1);
}
OpenPOWER on IntegriCloud