summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-06-23 22:03:04 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-06-23 22:03:04 +0000
commit85c00e7a93457b8af08a885beafa8d50cff3f96a (patch)
treecc7fb28db498565173c697e0b53ce5ad21c3d726 /usr.bin
parent5244d434f6dcbffd3babe2cff60450eef3e1652a (diff)
Below DIAGNOSTICS, document the SYSERR message level;
jmc@ wondered what it meant and agrees with this patch.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mandoc/mandoc.111
1 files changed, 7 insertions, 4 deletions
diff --git a/usr.bin/mandoc/mandoc.1 b/usr.bin/mandoc/mandoc.1
index d0ac31d1831..0c094b17fea 100644
--- a/usr.bin/mandoc/mandoc.1
+++ b/usr.bin/mandoc/mandoc.1
@@ -1,6 +1,7 @@
-.\" $OpenBSD: mandoc.1,v 1.57 2014/06/20 22:58:41 schwarze Exp $
+.\" $OpenBSD: mandoc.1,v 1.58 2014/06/23 22:03:03 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
+.\" Copyright (c) 2012, 2014 Ingo Schwarze <schwarze@openbsd.org>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
@@ -14,7 +15,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: June 20 2014 $
+.Dd $Mdocdate: June 23 2014 $
.Dt MANDOC 1
.Os
.Sh NAME
@@ -523,6 +524,9 @@ fields are omitted when meaningless.
.Pp
Message levels have the following meanings:
.Bl -tag -width "warning"
+.It Cm syserr
+Opening or reading an input file failed, so the parser cannot
+even be started and no output is produced from that input file.
.It Cm fatal
The parser is unable to parse a given input file at all.
No formatted output is produced from that input file.
@@ -558,8 +562,7 @@ output mode.
The
.Nm
utility may also print messages related to invalid command line arguments
-or operating system errors, for example when memory is exhausted or
-input files cannot be read.
+or operating system errors, for example when memory is exhausted.
Such messages may not carry the prefix described above.
.Sh COMPATIBILITY
This section summarises