summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-11-10 23:32:40 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-11-10 23:32:40 +0000
commit451c91387a4cded19c73e971d3b2ee1bb4c1f53d (patch)
tree84bc2d3caa8629db244eb03bdaf277a400150657
parent32cb510892d905d4d8ed670cc5f09298984ffc28 (diff)
downloadmandoc-451c91387a4cded19c73e971d3b2ee1bb4c1f53d.tar.gz
be less assertive when warning about a possible typo;
from jca@, ok jmc@
-rw-r--r--mandoc.12
-rw-r--r--mandoc.h2
-rw-r--r--read.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/mandoc.1 b/mandoc.1
index 1954b5ed..6d050a9d 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -875,7 +875,7 @@ A single manual page contains two copies of the RCS identifier for
the same operating system.
Consider deleting the later instance and moving the first one up
to the top of the page.
-.It Sy "typo in section name"
+.It Sy "possible typo in section name"
.Pq mdoc
Fuzzy string matching revealed that the argument of an
.Ic \&Sh
diff --git a/mandoc.h b/mandoc.h
index d1baffb1..b34357d0 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -58,7 +58,7 @@ enum mandocerr {
MANDOCERR_DATE_LEGACY, /* legacy man(7) date format: Dd ... */
MANDOCERR_TITLE_CASE, /* lower case character in document title */
MANDOCERR_RCS_REP, /* duplicate RCS id: ... */
- MANDOCERR_SEC_TYPO, /* typo in section name: Sh ... */
+ MANDOCERR_SEC_TYPO, /* possible typo in section name: Sh ... */
MANDOCERR_ARG_QUOTE, /* unterminated quoted argument */
MANDOCERR_MACRO_USELESS, /* useless macro: macro */
MANDOCERR_BX, /* consider using OS macro: macro */
diff --git a/read.c b/read.c
index 951e6a78..b293913a 100644
--- a/read.c
+++ b/read.c
@@ -96,7 +96,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"legacy man(7) date format",
"lower case character in document title",
"duplicate RCS id",
- "typo in section name",
+ "possible typo in section name",
"unterminated quoted argument",
"useless macro",
"consider using OS macro",