aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-06-23 22:03:30 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-06-23 22:03:30 +0000
commite93f4fc39f7ed80eab9a6b3abdf4ca15ccdd0b1d (patch)
tree4d2f4e014ee23045ffdd0b95c5f9b347fb34f0b0
parent244032c2df9e9131ed3e701d4dac061b20ee8172 (diff)
downloadmandoc-e93f4fc39f7ed80eab9a6b3abdf4ca15ccdd0b1d.tar.gz
mandoc-e93f4fc39f7ed80eab9a6b3abdf4ca15ccdd0b1d.tar.zst
mandoc-e93f4fc39f7ed80eab9a6b3abdf4ca15ccdd0b1d.zip
Below DIAGNOSTICS, document the SYSERR message level;
jmc@ wondered what it meant and agrees with this patch.
-rw-r--r--mandoc.112
1 files changed, 7 insertions, 5 deletions
diff --git a/mandoc.1 b/mandoc.1
index cb800e04..745dd504 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,7 +1,7 @@
-.\" $Id: mandoc.1,v 1.104 2014/06/20 23:02:31 schwarze Exp $
+.\" $Id: mandoc.1,v 1.105 2014/06/23 22:03:30 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
-.\" Copyright (c) 2012 Ingo Schwarze <schwarze@openbsd.org>
+.\" 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
@@ -15,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
@@ -524,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.
@@ -559,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