diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-04 16:12:08 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-04 16:12:08 +0000 |
commit | 75cc39c2a41a2eef6085721de92ebcdf1b8868f6 (patch) | |
tree | 275ea256856425a64c747d838de951c32f2890c8 /read.c | |
parent | 604a31609737053378ee534fa32241da4a8500bf (diff) | |
download | mandoc-75cc39c2a41a2eef6085721de92ebcdf1b8868f6.tar.gz |
Clean up messages regarding excess arguments:
* Downgrade ".Bf -emphasis Em" from FATAL to WARNING.
* Mention the macros, the arguments, and the fallbacks.
* Hierarchical naming.
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -137,7 +137,8 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "missing -width in -tag list, using 8n", "empty head in list item", "empty list item", - "missing font type", + "missing font type, using \\fR", + "unknown font type, using \\fR", "missing -std argument, adding it", /* related to bad macro arguments */ @@ -194,7 +195,8 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "uname(3) system call failed", "request requires a numeric argument", "missing list type, using -item", - "line argument(s) will be lost", + "skipping all arguments", + "skipping excess arguments", "generic fatal error", @@ -202,7 +204,6 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "not a manual", "column syntax is inconsistent", "NOT IMPLEMENTED: .Bd -file", - "argument count wrong, violates syntax", "child violates parent syntax", "argument count wrong, violates syntax", "NOT IMPLEMENTED: .so with absolute path or \"..\"", |