From 62dc4f949b755b4b88b3f476e7da3ae0827618a6 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 23 Nov 2011 09:52:20 +0000 Subject: Have mandocdb(8) take advantage of manpath.h. This brings it in line with makewhatis(8), which, like apropos(1), will use man.conf (or manpath(1)) if no manpath entries are provided. --- mandocdb.8 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'mandocdb.8') diff --git a/mandocdb.8 b/mandocdb.8 index 8709277a..c4295130 100644 --- a/mandocdb.8 +++ b/mandocdb.8 @@ -1,4 +1,4 @@ -.\" $Id: mandocdb.8,v 1.5 2011/10/09 08:56:27 kristaps Exp $ +.\" $Id: mandocdb.8,v 1.6 2011/11/23 09:52:20 kristaps 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: October 9 2011 $ +.Dd $Mdocdate: November 23 2011 $ .Dt MANDOCDB 8 .Os .Sh NAME @@ -71,6 +71,12 @@ By default, creates databases in each .Ar dir using files rooted in that directory. +If +.Ar dir +is not provided, +.Nm +uses the default paths stipulated by +.Xr man 1 . .Pp If fatal parse errors are encountered while parsing, the offending file is printed to stderr, omitted from the index, and the parse continues @@ -190,6 +196,7 @@ to exit at once, possibly in the middle of parsing or formatting a file. The output databases are corrupt and should be removed . .El .Sh SEE ALSO +.Xr man 1 , .Xr mandoc 1 , .Xr btree 3 , .Xr recno 3 -- cgit v1.2.3-56-ge451