diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2005-02-09 17:37:39 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2005-02-09 17:37:39 +0000 |
| commit | a89237ae953b770c82cf9c1dbf192cc54e1dd5be (patch) | |
| tree | f2459cf124e940897222cf3c2d1d840dc7a981a5 /bin/ps | |
| parent | b3f44d7907dec84405f0aeeacbee5cfb3d39917e (diff) | |
Notes
Diffstat (limited to 'bin/ps')
| -rw-r--r-- | bin/ps/ps.1 | 5 | ||||
| -rw-r--r-- | bin/ps/ps.c | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/bin/ps/ps.1 b/bin/ps/ps.1 index bcd85e63881d..0dcb546e522b 100644 --- a/bin/ps/ps.1 +++ b/bin/ps/ps.1 @@ -38,14 +38,13 @@ .Sh SYNOPSIS .Nm .Op Fl aCcefHhjlmrSTuvwXxZ +.Op Fl O Ar fmt | Fl o Ar fmt .Op Fl G Ar gid Ns Op , Ns Ar gid Ns Ar ... .Op Fl M Ar core .Op Fl N Ar system -.Op Fl O Ar fmt -.Op Fl o Ar fmt .Op Fl p Ar pid Ns Op , Ns Ar pid Ns Ar ... .Op Fl t Ar tty Ns Op , Ns Ar tty Ns Ar ... -.Op Fl U Ar username Ns Op , Ns Ar username Ns Ar ... +.Op Fl U Ar user Ns Op , Ns Ar user Ns Ar ... .Nm .Op Fl L .Sh DESCRIPTION diff --git a/bin/ps/ps.c b/bin/ps/ps.c index 2bedc17ffee7..73a61212a29a 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); } |
