summaryrefslogtreecommitdiffstats
path: root/mdocml.1
diff options
context:
space:
mode:
Diffstat (limited to 'mdocml.1')
-rw-r--r--mdocml.114
1 files changed, 11 insertions, 3 deletions
diff --git a/mdocml.1 b/mdocml.1
index a40336a1..fb507abd 100644
--- a/mdocml.1
+++ b/mdocml.1
@@ -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