aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-11-10 23:32:40 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-11-10 23:32:40 +0000
commit8d83cf1f1cf12f5a501eff2b0fb67eea1938dfc0 (patch)
tree7bdae629231c7a69277ac0835cde76a9b425c026
parentc60f48bd22c01fe8a88daad14b248d79eb1465dd (diff)
downloadmandoc-8d83cf1f1cf12f5a501eff2b0fb67eea1938dfc0.tar.gz
mandoc-8d83cf1f1cf12f5a501eff2b0fb67eea1938dfc0.tar.zst
mandoc-8d83cf1f1cf12f5a501eff2b0fb67eea1938dfc0.zip
be less assertive when warning about a possible typo;
from jca@, ok jmc@
-rw-r--r--mandoc.16
-rw-r--r--mandoc.h4
-rw-r--r--read.c4
3 files changed, 7 insertions, 7 deletions
diff --git a/mandoc.1 b/mandoc.1
index 4428cb5f..c22093ca 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.219 2017/09/07 14:55:12 schwarze Exp $
+.\" $Id: mandoc.1,v 1.220 2017/11/10 23:32:40 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2012, 2014-2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: September 7 2017 $
+.Dd $Mdocdate: November 10 2017 $
.Dt MANDOC 1
.Os
.Sh NAME
@@ -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 b234cb5e..a3fd04cd 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.245 2017/07/08 14:51:04 schwarze Exp $ */
+/* $Id: mandoc.h,v 1.246 2017/11/10 23:32:40 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -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 1af1b283..f99451f9 100644
--- a/read.c
+++ b/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.192 2017/07/20 14:36:36 schwarze Exp $ */
+/* $Id: read.c,v 1.193 2017/11/10 23:32:40 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -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",