From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id 2618f542 for ; Fri, 10 Nov 2017 18:33:11 -0500 (EST) Date: Fri, 10 Nov 2017 18:33:11 -0500 (EST) Message-Id: <2559217515275982952.enqueue@fantadrom.bsd.lv> X-Mailinglist: mandoc-source Reply-To: source@mandoc.bsd.lv MIME-Version: 1.0 From: schwarze@mandoc.bsd.lv To: source@mandoc.bsd.lv Subject: mandoc: be less assertive when warning about a possible typo; from jca@, X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- be less assertive when warning about a possible typo; from jca@, ok jmc@ Modified Files: -------------- mandoc: mandoc.1 mandoc.h read.c Revision Data ------------- Index: mandoc.1 =================================================================== RCS file: /home/cvs/mandoc/mandoc/mandoc.1,v retrieving revision 1.219 retrieving revision 1.220 diff -Lmandoc.1 -Lmandoc.1 -u -p -r1.219 -r1.220 --- mandoc.1 +++ mandoc.1 @@ -875,7 +875,7 @@ A single manual page contains two copies 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 Index: read.c =================================================================== RCS file: /home/cvs/mandoc/mandoc/read.c,v retrieving revision 1.192 retrieving revision 1.193 diff -Lread.c -Lread.c -u -p -r1.192 -r1.193 --- read.c +++ read.c @@ -96,7 +96,7 @@ static const char * const mandocerrs[MAN "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", Index: mandoc.h =================================================================== RCS file: /home/cvs/mandoc/mandoc/mandoc.h,v retrieving revision 1.245 retrieving revision 1.246 diff -Lmandoc.h -Lmandoc.h -u -p -r1.245 -r1.246 --- mandoc.h +++ 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 */ -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv