From: schwarze@mandoc.bsd.lv
To: source@mandoc.bsd.lv
Subject: mandoc: be less assertive when warning about a possible typo; from jca@,
Date: Fri, 10 Nov 2017 18:33:11 -0500 (EST) [thread overview]
Message-ID: <2559217515275982952.enqueue@fantadrom.bsd.lv> (raw)
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
reply other threads:[~2017-11-10 23:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2559217515275982952.enqueue@fantadrom.bsd.lv \
--to=schwarze@mandoc.bsd.lv \
--cc=source@mandoc.bsd.lv \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).