diff options
author | 2016-07-19 22:40:33 +0000 | |
---|---|---|
committer | 2016-07-19 22:40:33 +0000 | |
commit | 6b4480e041335acb92e1c76c4bdc9186f5bfb0f2 (patch) | |
tree | 8f0dba438bbfb9ae8b443e2e97d876b5c4051c2a /mandocdb.c | |
parent | 490252b369661e1862919f425cdaf44accbeb1ae (diff) | |
download | mandoc-6b4480e041335acb92e1c76c4bdc9186f5bfb0f2.tar.gz mandoc-6b4480e041335acb92e1c76c4bdc9186f5bfb0f2.tar.zst mandoc-6b4480e041335acb92e1c76c4bdc9186f5bfb0f2.zip |
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.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandocdb.c,v 1.221 2016/07/19 21:31:55 schwarze Exp $ */ +/* $Id: mandocdb.c,v 1.222 2016/07/19 22:40:33 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011-2016 Ingo Schwarze <schwarze@openbsd.org> @@ -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, |