=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/apropos/Attic/apropos.1,v retrieving revision 1.7 retrieving revision 1.12 diff -u -r1.7 -r1.12 --- src/usr.bin/apropos/Attic/apropos.1 2000/11/09 17:52:01 1.7 +++ src/usr.bin/apropos/Attic/apropos.1 2007/08/06 19:16:06 1.12 @@ -1,4 +1,4 @@ -.\" $OpenBSD: apropos.1,v 1.7 2000/11/09 17:52:01 aaron Exp $ +.\" $OpenBSD: apropos.1,v 1.12 2007/08/06 19:16:06 sobrado Exp $ .\" $NetBSD: apropos.1,v 1.4 1995/09/04 20:46:17 tls Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 @@ -12,11 +12,7 @@ .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. -.\" 3. All advertising materials mentioning features or use of this software -.\" must display the following acknowledgement: -.\" This product includes software developed by the University of -.\" California, Berkeley and its contributors. -.\" 4. Neither the name of the University nor the names of its contributors +.\" 3. Neither the name of the University nor the names of its contributors .\" may be used to endorse or promote products derived from this software .\" without specific prior written permission. .\" @@ -34,7 +30,7 @@ .\" .\" @(#)apropos.1 8.1 (Berkeley) 6/29/93 .\" -.Dd June 29, 1993 +.Dd $Mdocdate: August 6 2007 $ .Dt APROPOS 1 .Os .Sh NAME @@ -42,10 +38,10 @@ .Nd locate commands by keyword lookup .Sh SYNOPSIS .Nm apropos +.Op Fl C Ar file .Op Fl M Ar path .Op Fl m Ar path -.Ar keyword -.Op Ar ... +.Ar keyword ... .Sh DESCRIPTION .Nm shows which manual pages contain instances of any of the given @@ -61,14 +57,20 @@ If the line output by .Nm starts -.Dq Li name(section) ... +.Dq Li name (section) ... , you can enter .Dq Li man section name to get its documentation. .Pp The options are as follows: -.Bl -tag -width Ds +.Bl -tag -width "-C file" +.It Fl C Ar file +Specify an alternative configuration +.Ar file +in +.Xr man.conf 5 +format. .It Fl M Ar path Override the list of standard directories .Nm @@ -110,14 +112,20 @@ separated list of directories. .El .Sh FILES -.Bl -tag -width whatis.db -compact +.Bl -tag -width /etc/man.conf -compact .It Pa whatis.db name of the apropos database +.It Pa /etc/man.conf +default +.Xr man 1 +configuration file .El .Sh SEE ALSO .Xr man 1 , .Xr whatis 1 , -.Xr whereis 1 +.Xr whereis 1 , +.Xr man.conf 5 , +.Xr makewhatis 8 .Sh HISTORY The .Nm