"which -s" will return 0 only if all executables were found, not "any".

This commit is contained in:
Ruslan Ermilov 2006-12-13 12:07:49 +00:00
parent 0b149517f3
commit 531ab78a73

View File

@ -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