=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/apropos/Attic/apropos.1,v retrieving revision 1.9 retrieving revision 1.13 diff -u -r1.9 -r1.13 --- src/usr.bin/apropos/Attic/apropos.1 2003/06/03 02:56:05 1.9 +++ src/usr.bin/apropos/Attic/apropos.1 2008/12/24 09:05:17 1.13 @@ -1,4 +1,4 @@ -.\" $OpenBSD: apropos.1,v 1.9 2003/06/03 02:56:05 millert Exp $ +.\" $OpenBSD: apropos.1,v 1.13 2008/12/24 09:05:17 jmc Exp $ .\" $NetBSD: apropos.1,v 1.4 1995/09/04 20:46:17 tls Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)apropos.1 8.1 (Berkeley) 6/29/93 .\" -.Dd June 29, 1993 +.Dd $Mdocdate: December 24 2008 $ .Dt APROPOS 1 .Os .Sh NAME @@ -41,8 +41,9 @@ .Op Fl C Ar file .Op Fl M Ar path .Op Fl m Ar path -.Ar keyword -.Op Ar ... +.Op Fl S Ar subsection +.Op Fl s Ar section +.Ar keyword ... .Sh DESCRIPTION .Nm shows which manual pages contain instances of any of the given @@ -58,14 +59,14 @@ 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 @@ -99,6 +100,12 @@ option or the .Ev MANPATH environment variable. +.It Fl S Ar subsection +Restrict the search to pages for the specified machine architecture. +By default, pages for all architectures are shown. +.It Fl s Ar section +Restrict the search to the specified section of the manual. +By default, pages from all sections are shown. .El .Sh ENVIRONMENT .Bl -tag -width MANPATH