diff options
author | Igor Sobrado <sobrado@cvs.openbsd.org> | 2007-08-06 19:16:08 +0000 |
---|---|---|
committer | Igor Sobrado <sobrado@cvs.openbsd.org> | 2007-08-06 19:16:08 +0000 |
commit | d569c9b0c585d1ada0bb33679611b77eba528140 (patch) | |
tree | af2426db3e795320f587d155021169a3f1700b3e /usr.bin/man/man.c | |
parent | 602a7968e47e34fd38658741b7b66d3c9115f9cf (diff) |
the ellipsis is not an optional argument; while here, sync the usage
and synopsis of commands
lots of good ideas by jmc@
ok jmc@
Diffstat (limited to 'usr.bin/man/man.c')
-rw-r--r-- | usr.bin/man/man.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/man/man.c b/usr.bin/man/man.c index aec437835e4..0aedd5790e0 100644 --- a/usr.bin/man/man.c +++ b/usr.bin/man/man.c @@ -1,4 +1,4 @@ -/* $OpenBSD: man.c,v 1.34 2007/06/04 20:40:10 otto Exp $ */ +/* $OpenBSD: man.c,v 1.35 2007/08/06 19:16:06 sobrado Exp $ */ /* $NetBSD: man.c,v 1.7 1995/09/28 06:05:34 tls Exp $ */ /* @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)man.c 8.17 (Berkeley) 1/31/95"; #else -static char rcsid[] = "$OpenBSD: man.c,v 1.34 2007/06/04 20:40:10 otto Exp $"; +static char rcsid[] = "$OpenBSD: man.c,v 1.35 2007/08/06 19:16:06 sobrado Exp $"; #endif #endif /* not lint */ @@ -790,7 +790,7 @@ static void usage(void) { (void)fprintf(stderr, "usage: %s [-achw] [-C file] [-M path] [-m path] " - "[-S subsection] [-s section]\n\t [section] name [...]\n", + "[-S subsection] [-s section]\n\t [section] name ...\n", __progname); (void)fprintf(stderr, " %s -f command\n", __progname); (void)fprintf(stderr, " %s -k keyword\n", __progname); |