From 26376028e810526c1a7f57eccff7217e30996fc5 Mon Sep 17 00:00:00 2001 From: ru Date: Wed, 13 Dec 2006 12:07:49 +0000 Subject: "which -s" will return 0 only if all executables were found, not "any". --- usr.bin/which/which.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/which') 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 -- cgit v1.1