diff options
author | johan <johan@FreeBSD.org> | 2002-08-22 01:50:51 +0000 |
---|---|---|
committer | johan <johan@FreeBSD.org> | 2002-08-22 01:50:51 +0000 |
commit | 28c233cdd044efe1e619c9926701a4dd2c760879 (patch) | |
tree | eaf30954d927dd4c951f7910c0a4fe431371634c /usr.bin/whereis/whereis.1 | |
parent | d47e5d8db21b72d583f8458c8d851edcf9892bff (diff) | |
download | FreeBSD-src-28c233cdd044efe1e619c9926701a4dd2c760879.zip FreeBSD-src-28c233cdd044efe1e619c9926701a4dd2c760879.tar.gz |
Add the -a option to report all matches instead of only the
first of each requested type.
Approved by: joerg, sheldonh (mentor)
Diffstat (limited to 'usr.bin/whereis/whereis.1')
-rw-r--r-- | usr.bin/whereis/whereis.1 | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/usr.bin/whereis/whereis.1 b/usr.bin/whereis/whereis.1 index 12b9b98..b1f8b95 100644 --- a/usr.bin/whereis/whereis.1 +++ b/usr.bin/whereis/whereis.1 @@ -35,7 +35,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 11, 2002 +.Dd August 18, 2002 .Dt WHEREIS 1 .Os .Sh NAME @@ -43,7 +43,7 @@ .Nd locate programs .Sh SYNOPSIS .Nm -.Op Fl bmqsux +.Op Fl abmqsux .Op Fl BMS Ar dir Ar ... Fl f .Ar program ... .Sh DESCRIPTION @@ -94,6 +94,8 @@ option. Specify directories to search for program sources. Requires the .Fl f option. +.It Fl a +Report all matches instead of only the first of each requested type. .It Fl b Search for binaries. .It Fl f @@ -119,8 +121,8 @@ Search for source directories. .It Fl u Search for .Dq unusual -entries. A file is said to be unusual if it does not have one entry -of each requested type. +entries. A file is said to be unusual if it does not have at least +one entry of each requested type. Only the name of the unusual entry is printed. .It Fl x Do not use @@ -174,3 +176,9 @@ It is believed to be compatible with the version that was shipping with through .Fx 4.5 though. +.Pp +The +.Nm +utility can report some unrelated source entries when the +.Fl a +option is specified. |