summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.c3
-rw-r--r--mandoc.16
-rw-r--r--read.c2
3 files changed, 8 insertions, 3 deletions
diff --git a/main.c b/main.c
index 9d6db883..7e5d32fd 100644
--- a/main.c
+++ b/main.c
@@ -1089,8 +1089,7 @@ mmsg(enum mandocerr t, enum mandoclevel lvl,
if (line)
fprintf(stderr, "%d:%d:", line, col + 1);
- fprintf(stderr, " %s",
- t < MANDOCERR_STYLE ? "BASE" : mparse_strlevel(lvl));
+ fprintf(stderr, " %s", mparse_strlevel(lvl));
if ((mparse_msg = mparse_strerror(t)) != NULL)
fprintf(stderr, ": %s", mparse_msg);
diff --git a/mandoc.1 b/mandoc.1
index 436b06f7..5d36a93f 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -762,6 +762,12 @@ A convertion used in the base system of a specific operating system
is not adhered to.
These are not markup mistakes, and neither the quality of formatting
nor portability are in danger.
+Messages of the
+.Cm base
+level are printed with the more intuitive
+.Cm style
+.Ar level
+tag.
.El
.Pp
Messages of the
diff --git a/read.c b/read.c
index 4ba4abbe..2c23d411 100644
--- a/read.c
+++ b/read.c
@@ -75,7 +75,7 @@ static void mparse_parse_buffer(struct mparse *, struct buf,
static const enum mandocerr mandoclimits[MANDOCLEVEL_MAX] = {
MANDOCERR_OK,
- MANDOCERR_STYLE,
+ MANDOCERR_OK,
MANDOCERR_WARNING,
MANDOCERR_ERROR,
MANDOCERR_UNSUPP,