summaryrefslogtreecommitdiffstats
path: root/mandocdb.8
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-11-23 09:52:20 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-11-23 09:52:20 +0000
commitdd7a7a37962f5fd5a134a98280617bb07028d374 (patch)
treecba643a12cd76d2f79386cf30da35607377922b9 /mandocdb.8
parent3dbbcb4102f31efcf3b35550f0856faee10018ba (diff)
downloadmandoc-dd7a7a37962f5fd5a134a98280617bb07028d374.tar.gz
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.
Diffstat (limited to 'mandocdb.8')
-rw-r--r--mandocdb.87
1 files changed, 7 insertions, 0 deletions
diff --git a/mandocdb.8 b/mandocdb.8
index 427f39e0..ae01bddb 100644
--- a/mandocdb.8
+++ b/mandocdb.8
@@ -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