=================================================================== RCS file: /cvs/mandoc/makewhatis.8,v retrieving revision 1.2 retrieving revision 1.5 diff -u -p -r1.2 -r1.5 --- mandoc/makewhatis.8 2014/04/25 12:13:15 1.2 +++ mandoc/makewhatis.8 2017/03/18 19:51:19 1.5 @@ -1,7 +1,7 @@ -.\" $Id: makewhatis.8,v 1.2 2014/04/25 12:13:15 schwarze Exp $ +.\" $Id: makewhatis.8,v 1.5 2017/03/18 19:51:19 schwarze Exp $ .\" .\" Copyright (c) 2011, 2012 Kristaps Dzonsons -.\" Copyright (c) 2011, 2012 Ingo Schwarze +.\" Copyright (c) 2011, 2012, 2014, 2017 Ingo Schwarze .\" .\" Permission to use, copy, modify, and distribute this software for any .\" purpose with or without fee is hereby granted, provided that the above @@ -15,7 +15,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: April 25 2014 $ +.Dd $Mdocdate: March 18 2017 $ .Dt MAKEWHATIS 8 .Os .Sh NAME @@ -79,8 +79,6 @@ If is not provided, .Nm uses the default paths stipulated by -.Xr manpath 1 , -or .Xr man.conf 5 . .Pp The arguments are as follows: @@ -98,7 +96,7 @@ format. Display all files added or removed to the index. With a second .Fl D , -also show all keyswords added for each file. +also show all keywords added for each file. .It Fl d Ar dir Merge (remove and re-add) .Ar @@ -137,6 +135,16 @@ from the database in If fatal parse errors are encountered while parsing, the offending file is printed to stderr, omitted from the index, and the parse continues with the next input file. +.Sh ENVIRONMENT +.Bl -tag -width MANPATH +.It Ev MANPATH +A colon-separated list of directories to create databases in. +Ignored if a +.Ar dir +argument or the +.Fl t +option is specified. +.El .Sh FILES .Bl -tag -width Ds .It Pa mandoc.db