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/whois | |
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/whois')
-rw-r--r-- | usr.bin/whois/whois.1 | 6 | ||||
-rw-r--r-- | usr.bin/whois/whois.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/whois/whois.1 b/usr.bin/whois/whois.1 index 710ed2f7592..3d092619f6a 100644 --- a/usr.bin/whois/whois.1 +++ b/usr.bin/whois/whois.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: whois.1,v 1.25 2007/05/31 19:20:20 jmc Exp $ +.\" $OpenBSD: whois.1,v 1.26 2007/08/06 19:16:06 sobrado Exp $ .\" $NetBSD: whois.1,v 1.5 1995/08/31 21:51:32 jtc Exp $ .\" .\" Copyright (c) 1985, 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)whois.1 8.2 (Berkeley) 6/20/94 .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: August 6 2007 $ .Dt WHOIS 1 .Os .Sh NAME @@ -43,7 +43,7 @@ .Fl c Ar country-code | Fl h Ar host .Oc .Op Fl p Ar port -.Ar name Op Ar ... +.Ar name ... .Sh DESCRIPTION The .Nm diff --git a/usr.bin/whois/whois.c b/usr.bin/whois/whois.c index c1552d66baa..5b34bee8d57 100644 --- a/usr.bin/whois/whois.c +++ b/usr.bin/whois/whois.c @@ -1,4 +1,4 @@ -/* $OpenBSD: whois.c,v 1.39 2007/07/05 02:12:28 millert Exp $ */ +/* $OpenBSD: whois.c,v 1.40 2007/08/06 19:16:06 sobrado Exp $ */ /* * Copyright (c) 1980, 1993 @@ -308,7 +308,7 @@ usage(void) extern char *__progname; fprintf(stderr, - "usage: %s [-6AadgilmQRr] [-c country-code | -h hostname] " + "usage: %s [-6AadgilmQRr] [-c country-code | -h host] " "[-p port] name ...\n", __progname); exit(1); } |