=================================================================== RCS file: /cvs/mandoc/Attic/whatis.1,v retrieving revision 1.6 retrieving revision 1.7.2.2 diff -u -p -r1.6 -r1.7.2.2 --- mandoc/Attic/whatis.1 2011/12/25 16:53:51 1.6 +++ mandoc/Attic/whatis.1 2013/10/05 01:25:20 1.7.2.2 @@ -1,4 +1,4 @@ -.\" $Id: whatis.1,v 1.6 2011/12/25 16:53:51 schwarze Exp $ +.\" $Id: whatis.1,v 1.7.2.2 2013/10/05 01:25:20 schwarze Exp $ .\" .\" Copyright (c) 2011 Kristaps Dzonsons .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: December 25 2011 $ +.Dd $Mdocdate: October 5 2013 $ .Dt WHATIS 1 .Os .Sh NAME @@ -23,8 +23,8 @@ .Sh SYNOPSIS .Nm .Op Fl C Ar file -.Op Fl M Ar manpath -.Op Fl m Ar manpath +.Op Fl M Ar path +.Op Fl m Ar path .Op Fl S Ar arch .Op Fl s Ar section .Ar name ... @@ -41,6 +41,13 @@ You can then use the .Xr man 1 command to get more information. .Pp +By default, +.Nm +searches for +.Xr mandocdb 8 +databases in the default paths stipulated by +.Xr man 1 . +.Pp The options are as follows: .Bl -tag -width Ds .It Fl C Ar file @@ -49,16 +56,16 @@ Specify an alternative configuration in .Xr man.conf 5 format. -.It Fl M Ar manpath +.It Fl M Ar path Use the colon-separated -.Ar manpath +.Ar path instead of the default list of paths searched for .Xr mandocdb 8 databases. Invalid paths, or paths without manual databases, are ignored. -.It Fl m Ar manpath +.It Fl m Ar path Prepend the colon-separated -.Ar manpath +.Ar path to the list of paths searched for .Xr mandocdb 8 databases. @@ -72,12 +79,6 @@ See for a listing of manual sections. .El .Pp -By default, -.Nm -searches for -.Xr mandocdb 8 -databases in the default paths stipulated by -.Xr man 1 . Results are sorted by manual title, with output formatted as .Pp .D1 title(sec) \- description @@ -130,11 +131,11 @@ If none of these conditions are met, it overrides the .El .Sh FILES .Bl -tag -width "/etc/man.conf" -compact -.It Pa whatis.db +.It Pa mandoc.db name of the .Xr mandocdb 8 keyword database -.It Pa whatis.index +.It Pa mandoc.index name of the .Xr mandocdb 8 filename database @@ -167,5 +168,4 @@ wrote the original .Nm in 1979. The current version was written by -.An Kristaps Dzonsons , -.Mt kristaps@bsd.lv . +.An Kristaps Dzonsons Aq Mt kristaps@bsd.lv .