=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/Attic/whatis.1,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- src/usr.bin/mandoc/Attic/whatis.1 2012/01/01 17:44:44 1.3 +++ src/usr.bin/mandoc/Attic/whatis.1 2012/01/05 22:07:42 1.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: whatis.1,v 1.3 2012/01/01 17:44:44 schwarze Exp $ +.\" $OpenBSD: whatis.1,v 1.4 2012/01/05 22:07:42 schwarze Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)whatis.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: January 1 2012 $ +.Dd $Mdocdate: January 5 2012 $ .Dt WHATIS 1 .Os .Sh NAME @@ -42,21 +42,27 @@ .Op Fl m Ar path .Op Fl S Ar arch .Op Fl s Ar section -.Ar command ... +.Ar name ... .Sh DESCRIPTION +The .Nm -looks up a given command and gives the header line from the manual page. +utility looks up the given commands and shows the header lines +from the manual pages. You can then use the .Xr man 1 command to get more information. .Nm -will match on a case insensitive basis and for multiple word entries +will match manual page +.Ar names +on a case insensitive basis and for multiple word entries will match on each individual word. .Pp The options are as follows: .Bl -tag -width Ds .It Fl C Ar file -Specify an alternate configuration file in +Specify an alternate configuration +.Ar file +in .Xr man.conf 5 format. The default is @@ -143,6 +149,12 @@ .Xr man.conf 5 , .Xr makewhatis 8 .Sh HISTORY +Part of the functionality of +.Nm +was already provided by the former +.Nm manwhere +utility in +.Bx 1 . The .Nm command first appeared in @@ -173,7 +185,10 @@ .Sh AUTHORS .An -nosplit .An Bill Joy -wrote the original +wrote +.Nm manwhere +in 1977 +and the original .Bx .Nm in 1979.