summaryrefslogtreecommitdiffstats
path: root/manpath.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-10 15:45:28 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-10 15:45:28 +0000
commit33be0794e265a46ae95f2b46b2d4e7d6f60e3f66 (patch)
tree5ee13f7cf5d5ada38d679d5bdc4210ad1b0e4e40 /manpath.c
parent5b9da291e12f07f785311d286e2776f927683b2b (diff)
downloadmandoc-33be0794e265a46ae95f2b46b2d4e7d6f60e3f66.tar.gz
In -Ttree output mode, show the BROKEN node flag and
provide a -Onoval output option to show the unvalidated tree.
Diffstat (limited to 'manpath.c')
-rw-r--r--manpath.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/manpath.c b/manpath.c
index ba50500d..f0f934ac 100644
--- a/manpath.c
+++ b/manpath.c
@@ -226,7 +226,7 @@ manconf_output(struct manoutput *conf, const char *cp, int fromfile)
{
const char *const toks[] = {
"includes", "man", "paper", "style",
- "indent", "width", "fragment", "mdoc"
+ "indent", "width", "fragment", "mdoc", "noval"
};
const char *errstr;
@@ -310,6 +310,9 @@ manconf_output(struct manoutput *conf, const char *cp, int fromfile)
case 7:
conf->mdoc = 1;
return 0;
+ case 8:
+ conf->noval = 1;
+ return 0;
default:
if (fromfile)
warnx("-O %s: Bad argument", cp);