summaryrefslogtreecommitdiffstats
path: root/usr.bin/whereis
diff options
context:
space:
mode:
authorjohan <johan@FreeBSD.org>2002-07-03 19:20:59 +0000
committerjohan <johan@FreeBSD.org>2002-07-03 19:20:59 +0000
commitee3a0a0b044f223a591ad711c1cb7818215408fe (patch)
tree4c9d401f800a161ec077935adad3f756a0937f4f /usr.bin/whereis
parent7e4388a823be62c64ca5ebf8302f2bc7900ae6da (diff)
downloadFreeBSD-src-ee3a0a0b044f223a591ad711c1cb7818215408fe.zip
FreeBSD-src-ee3a0a0b044f223a591ad711c1cb7818215408fe.tar.gz
compact synopsis
s/program [program ...]/program .../ s/program [...]/program .../ Approved by: sheldonh (mentor)
Diffstat (limited to 'usr.bin/whereis')
-rw-r--r--usr.bin/whereis/whereis.13
-rw-r--r--usr.bin/whereis/whereis.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/whereis/whereis.1 b/usr.bin/whereis/whereis.1
index 9cbb7fc..c9cb55a 100644
--- a/usr.bin/whereis/whereis.1
+++ b/usr.bin/whereis/whereis.1
@@ -42,8 +42,7 @@
.Nd locate programs
.Sh SYNOPSIS
.Nm
-.Ar program
-.Op Ar program ...
+.Ar program ...
.Sh DESCRIPTION
The
.Nm
diff --git a/usr.bin/whereis/whereis.c b/usr.bin/whereis/whereis.c
index 27c0079..e22d412 100644
--- a/usr.bin/whereis/whereis.c
+++ b/usr.bin/whereis/whereis.c
@@ -119,6 +119,6 @@ void
usage()
{
- (void)fprintf(stderr, "usage: whereis program [...]\n");
+ (void)fprintf(stderr, "usage: whereis program ...\n");
exit (1);
}
OpenPOWER on IntegriCloud