* mandoc: be less assertive when warning about a possible typo; from jca@,
@ 2017-11-10 23:33 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2017-11-10 23:33 UTC (permalink / raw)
To: source
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-11-10 23:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-10 23:33 mandoc: be less assertive when warning about a possible typo; from jca@, schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).