From 451c91387a4cded19c73e971d3b2ee1bb4c1f53d Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 10 Nov 2017 23:32:40 +0000 Subject: be less assertive when warning about a possible typo; from jca@, ok jmc@ --- mandoc.1 | 2 +- mandoc.h | 2 +- read.c | 2 +- 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", -- cgit