summaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.1
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-24 14:00:59 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-24 14:00:59 +0000
commit2f0e48a3b94c4ea5af2482492f89ecda94388aaf (patch)
tree73a2265aea4fdcb4b02b94c2ec7842a46fd3d901 /mandoc.1
parent81ee6448dee9591b4e0ee8879542ef378054c91b (diff)
downloadmandoc-2f0e48a3b94c4ea5af2482492f89ecda94388aaf.tar.gz
mandoc-2f0e48a3b94c4ea5af2482492f89ecda94388aaf.tar.zst
mandoc-2f0e48a3b94c4ea5af2482492f89ecda94388aaf.zip
Added -fign-errors for VERY fast checking of many manuals without stopping at errors.
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.114
1 files changed, 12 insertions, 2 deletions
diff --git a/mandoc.1 b/mandoc.1
index fcf29386..c7235e2e 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.27 2009/07/21 15:52:41 kristaps Exp $
+.\" $Id: mandoc.1,v 1.28 2009/07/24 14:00:59 kristaps Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: July 21 2009 $
+.Dd $Mdocdate: July 24 2009 $
.Dt MANDOC 1
.Os
.\" SECTION
@@ -227,6 +227,10 @@ Implies
.Fl f Ns Ar no-ign-macro
and
.Fl f Ns Ar no-ign-chars .
+.It Fl f Ns Ar ign-errors
+Don't halt when encountering parse errors. Useful with
+.Fl T Ns Ar lint
+over a large set of manuals passed on the command line.
.El
.\" PARAGRAPH
.Pp
@@ -245,6 +249,12 @@ To page manuals to the terminal:
.Pp
.D1 % mandoc \-Wall,error \-fstrict mandoc.1 2>&1 | less
.D1 % mandoc mandoc.1 mdoc.3 mdoc.7 | less
+.\" PARAGRAPH
+.Pp
+To check over a large set of manuals:
+.\" PARAGRAPH
+.Pp
+.Dl % mandoc \-Tlint \-fign-errors `find /usr/src -name \e*\e.[1-9]`
.\" SECTION
.Sh COMPATIBILITY
This section summarises