summaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.1
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-03-22 20:43:00 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-03-22 20:43:00 +0000
commitbbeea0beb85e088174e25774ac57de1646fef526 (patch)
tree96d2d323b94827fb85c16f1e5ca77fa0cd9de617 /mandoc.1
parent5da2ef12354313f92470bf38fe6d999dfce935d0 (diff)
downloadmandoc-bbeea0beb85e088174e25774ac57de1646fef526.tar.gz
mandoc-bbeea0beb85e088174e25774ac57de1646fef526.tar.zst
mandoc-bbeea0beb85e088174e25774ac57de1646fef526.zip
Have -Tlint imply -Wall and -fstrict. Based on a patch submitted by Ingo Schwarze.
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.112
1 files changed, 9 insertions, 3 deletions
diff --git a/mandoc.1 b/mandoc.1
index 5ab24126..dc19d34b 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.51 2010/03/22 14:03:03 kristaps Exp $
+.\" $Id: mandoc.1,v 1.52 2010/03/22 20:43:00 kristaps Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
.\"
@@ -176,6 +176,10 @@ Produce an indented parse tree.
.
.It Fl T Ns Ar lint
Parse only: produce no output.
+Implies
+.Fl W Ns Ar all
+and
+.Fl f Ns Ar strict .
.El
.
.Pp
@@ -225,6 +229,8 @@ over a large set of manuals passed on the command line.
.Ss Output Options
For the time being, only
.Fl T Ns Ar html
+and
+.Fl T Ns Ar xhtml
accepts output options:
.Bl -tag -width Ds
.It Fl O Ns Ar style=style.css
@@ -527,7 +533,7 @@ and
.Xr man 7 .
.Pp
Nesting elements within next-line element scopes of
-.Fl m Ar Ns an ,
+.Fl m Ns Ar an ,
such as
.Sq br
within an empty
@@ -536,4 +542,4 @@ will confuse
.Fl T Ns Ar html
and
.Fl T Ns Ar xhtml
-and cause it to forget the formatting.
+and cause them to forget the formatting of the prior next-line scope.