diff options
author | 2007-08-06 19:16:05 +0000 | |
---|---|---|
committer | 2007-08-06 19:16:05 +0000 | |
commit | 03cb09c0d419a5c4b82e8079ba2c3d5995494248 (patch) | |
tree | ee6fa625ac16cfcc0ae0c9c4f16df39d992be7da /usr.bin/man/man.c | |
parent | Fix error path in sys_fhopen() if VOP_ADVLOCK fails. Spotted by aaron@ (diff) | |
download | wireguard-openbsd-03cb09c0d419a5c4b82e8079ba2c3d5995494248.tar.xz wireguard-openbsd-03cb09c0d419a5c4b82e8079ba2c3d5995494248.zip |
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); |