=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/which/which.1,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- src/usr.bin/which/which.1 1997/04/08 02:44:06 1.5 +++ src/usr.bin/which/which.1 1998/01/28 17:18:52 1.6 @@ -1,4 +1,4 @@ -.\" $OpenBSD: which.1,v 1.5 1997/04/08 02:44:06 millert Exp $ +.\" $OpenBSD: which.1,v 1.6 1998/01/28 17:18:52 millert Exp $ .\" Copyright (c) 1980, 1991 Regents of the University of California. .\" All rights reserved. .\" @@ -40,6 +40,7 @@ .Nd "locate a program file (or files) in the path" .Sh SYNOPSIS .Nm which +.Op Fl a .Op Ar name .Ar ... .Sh DESCRIPTION @@ -47,6 +48,12 @@ takes a list of names and looks for the files which would be executed had these names been given as commands. Each argument is searched for along the user's path. +.Pp +If the +.Fl a +flag is given, +.Nm +will return a list of all matches instead of just the first match. .Sh RETURN VALUES The .Nm