summaryrefslogtreecommitdiffstats
path: root/mandocdb.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-07-19 22:40:33 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-07-19 22:40:33 +0000
commit8c21c9f1d9ec00163ee18d64eeecbfbfcb70d0a5 (patch)
treef5d47da9433304f42de9f6f24c7ec5a07ab1e050 /mandocdb.c
parent4fe58b8b37f6b19d2c50441b4df20ca5687fe6ed (diff)
downloadmandoc-8c21c9f1d9ec00163ee18d64eeecbfbfcb70d0a5.tar.gz
Now that our man.conf(5) format is mature and extremely simple,
delete manpath(1) support. With the mandoc-based man(1), manpath(1) is utterly useless. Just set MANPATH_DEFAULT in configure.local for sane operating system defaults, use man.conf(5) for machine- specific modifications, and use ${MANPATH}, -m, and -M for user preferences.
Diffstat (limited to 'mandocdb.c')
-rw-r--r--mandocdb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mandocdb.c b/mandocdb.c
index a3247bec..c4005d73 100644
--- a/mandocdb.c
+++ b/mandocdb.c
@@ -464,8 +464,7 @@ mandocdb(int argc, char *argv[])
} else {
/*
* If we have arguments, use them as our manpaths.
- * If we don't, grok from manpath(1) or however else
- * manconf_parse() wants to do it.
+ * If we don't, use man.conf(5).
*/
if (argc > 0) {
conf.manpath.paths = mandoc_reallocarray(NULL,