summaryrefslogtreecommitdiffstatshomepage
path: root/mdocml.1
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-12-09 17:09:12 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-12-09 17:09:12 +0000
commitde293edce893b52ed59d9c7bff96f77a591319e1 (patch)
tree6831daa628ac0da230cb3b5215b5253e818a4ac2 /mdocml.1
parentf71c769f3131a98555b338bfb3f462d3bb674108 (diff)
downloadmandoc-de293edce893b52ed59d9c7bff96f77a591319e1.tar.gz
mandoc-de293edce893b52ed59d9c7bff96f77a591319e1.tar.zst
mandoc-de293edce893b52ed59d9c7bff96f77a591319e1.zip
Considerable clean-ups.
Diffstat (limited to 'mdocml.1')
-rw-r--r--mdocml.116
1 files changed, 12 insertions, 4 deletions
diff --git a/mdocml.1 b/mdocml.1
index fe36df1b..db7e4cae 100644
--- a/mdocml.1
+++ b/mdocml.1
@@ -1,5 +1,5 @@
.\"
-.Dd $Mdocdate: December 8 2008 $
+.Dd $Mdocdate: December 9 2008 $
.Dt mdocml 1 alpha
.Os
.\"
@@ -9,7 +9,8 @@
.\"
.Sh SYNOPSIS
.Nm mdocml
-.Op Fl vW
+.Op Fl v
+.Op Fl W Ns Ar err...
.Op Fl f Ar filter
.Op Fl o Ar outfile
.Op Ar infile
@@ -32,8 +33,15 @@ Write output to
which may be
.Dq \-
for stdout.
-.It Fl W
-Print warnings to stderr.
+.It Fl W Ns Ar err...
+Print warning messages. If set to
+.Fl W Ns Ar all ,
+all warnings are printed; if
+.Fl W Ns Ar error ,
+warnings are considered errors and cause utility termination. Multiple
+.Fl W
+arguments may be comma-separated, such as
+.Fl W Ns Ar error,all .
.It Fl v
Make warning and error messages verbose.
.It Ar infile