diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-11-01 19:07:19 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-11-01 19:07:19 +0000 |
commit | 8d657238111b69768075f7970c70162715d48686 (patch) | |
tree | f7ae83c0b3f131f36aeebd88c149fa32676d3fec /bin/ps/ps.c | |
parent | ef51a6980c34e7020f6d8e6309fd057cf1c75094 (diff) |
simplify synopsis and sync usage();
Diffstat (limited to 'bin/ps/ps.c')
-rw-r--r-- | bin/ps/ps.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/ps/ps.c b/bin/ps/ps.c index ef1cd971d03..db576ae97cf 100644 --- a/bin/ps/ps.c +++ b/bin/ps/ps.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ps.c,v 1.41 2006/04/25 15:41:07 deraadt Exp $ */ +/* $OpenBSD: ps.c,v 1.42 2006/11/01 19:07:18 jmc Exp $ */ /* $NetBSD: ps.c,v 1.15 1995/05/18 20:33:25 mycroft Exp $ */ /*- @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)ps.c 8.4 (Berkeley) 4/2/94"; #else -static char rcsid[] = "$OpenBSD: ps.c,v 1.41 2006/04/25 15:41:07 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: ps.c,v 1.42 2006/11/01 19:07:18 jmc Exp $"; #endif #endif /* not lint */ @@ -490,10 +490,9 @@ static void usage(void) { (void)fprintf(stderr, - "usage: %s [-][aCcehjklmrSTuvwx] [-M core] [-N system] [-O fmt] [-o fmt] [-p pid]\n", + "usage: %s [-aCcehjkLlmrSTuvwx] [-M core] [-N system] [-O fmt] [-o fmt] [-p pid]\n", __progname); (void)fprintf(stderr, "%-*s[-t tty] [-U username] [-W swap]\n", strlen(__progname) + 8, ""); - (void)fprintf(stderr, " %s [-L]\n", __progname); exit(1); } |