summaryrefslogtreecommitdiffstats
path: root/manpath.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-10 15:57:47 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-10 15:57:47 +0000
commitfb73b20a2450598a122b50db2d3303731550592b (patch)
treed673dcb5d63ce0ed70647769f8a29817d934a536 /manpath.c
parentb776d6210ef191ec5f74f091f56ded6b4667f3c4 (diff)
downloadmandoc-fb73b20a2450598a122b50db2d3303731550592b.tar.gz
merge main.c 1.281, manpath.c 1.33: -Ttree -Onoval
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 265ea6f5..dbf29ab7 100644
--- a/manpath.c
+++ b/manpath.c
@@ -277,7 +277,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;
@@ -361,6 +361,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);