summaryrefslogtreecommitdiffstats
path: root/usr.bin/which
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-12-13 12:07:49 +0000
committerru <ru@FreeBSD.org>2006-12-13 12:07:49 +0000
commit26376028e810526c1a7f57eccff7217e30996fc5 (patch)
treefddcf48ff3eefa541e0dbcee290fd808d8e6904a /usr.bin/which
parent05020e0446bdf8168e0d424c3b87113236277b66 (diff)
downloadFreeBSD-src-26376028e810526c1a7f57eccff7217e30996fc5.zip
FreeBSD-src-26376028e810526c1a7f57eccff7217e30996fc5.tar.gz
"which -s" will return 0 only if all executables were found, not "any".
Diffstat (limited to 'usr.bin/which')
-rw-r--r--usr.bin/which/which.14
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/which/which.1 b/usr.bin/which/which.1
index c00a14a..f8d88d8 100644
--- a/usr.bin/which/which.1
+++ b/usr.bin/which/which.1
@@ -29,7 +29,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 21, 2002
+.Dd December 13, 2006
.Dt WHICH 1
.Os
.Sh NAME
@@ -52,7 +52,7 @@ The following options are available:
List all instances of executables found (instead of just the first one
of each).
.It Fl s
-No output, just return 0 if any of the executables are found, or 1 if
+No output, just return 0 if all of the executables are found, or 1 if
none are found.
.El
.Pp
OpenPOWER on IntegriCloud