From 385121c9aace893fba9e430c2056b05ea6e62a37 Mon Sep 17 00:00:00 2001 From: schwarze Date: Fri, 10 Feb 2017 15:44:31 +0000 Subject: In -Ttree output mode, show the BROKEN node flag and provide a -Onoval output option to show the unvalidated tree. --- usr.bin/mandoc/manpath.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'usr.bin/mandoc/manpath.c') diff --git a/usr.bin/mandoc/manpath.c b/usr.bin/mandoc/manpath.c index 718f8d945b9..aae0b75e30b 100644 --- a/usr.bin/mandoc/manpath.c +++ b/usr.bin/mandoc/manpath.c @@ -1,4 +1,4 @@ -/* $OpenBSD: manpath.c,v 1.19 2017/01/27 13:47:17 schwarze Exp $ */ +/* $OpenBSD: manpath.c,v 1.20 2017/02/10 15:44:31 schwarze Exp $ */ /* * Copyright (c) 2011, 2014, 2015, 2017 Ingo Schwarze * Copyright (c) 2011 Kristaps Dzonsons @@ -225,7 +225,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; @@ -309,6 +309,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); -- cgit v1.2.3-59-g8ed1b