diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-11-10 23:32:40 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-11-10 23:32:40 +0000 |
commit | 451c91387a4cded19c73e971d3b2ee1bb4c1f53d (patch) | |
tree | 84bc2d3caa8629db244eb03bdaf277a400150657 | |
parent | 32cb510892d905d4d8ed670cc5f09298984ffc28 (diff) | |
download | mandoc-451c91387a4cded19c73e971d3b2ee1bb4c1f53d.tar.gz |
be less assertive when warning about a possible typo;
from jca@, ok jmc@
-rw-r--r-- | mandoc.1 | 2 | ||||
-rw-r--r-- | mandoc.h | 2 | ||||
-rw-r--r-- | read.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -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 @@ -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 */ @@ -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", |