]> git.cameronkatri.com Git - mandoc.git/blobdiff - manpath.c
Mention the manual page name and section in the HTML page <title>.
[mandoc.git] / manpath.c
index 6da3620e389a8fd5c57f47143176f04d485b928e..f43ace60694ea3a6126fa4b4160d4b1b778c3ff1 100644 (file)
--- a/manpath.c
+++ b/manpath.c
@@ -1,4 +1,4 @@
-/*     $Id: manpath.c,v 1.32 2017/01/27 13:47:10 schwarze Exp $        */
+/*     $Id: manpath.c,v 1.33 2017/02/10 15:45:28 schwarze Exp $        */
 /*
  * Copyright (c) 2011, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
  * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -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);