summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-11-10 22:48:06 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-11-10 22:48:06 +0000
commit09ca4f126fafc1b28e47f3a4ae9d873b799d829a (patch)
tree9ad95325b3d676598d92d4d82770acb41c45e581 /usr.bin
parentd7f38ada2584562daccb9dbf6460e0a84a84dd2e (diff)
Be less assertive when warning about a possible typo.
ok schwarze@ "good compromise" jmc@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mandoc/mandoc.16
-rw-r--r--usr.bin/mandoc/mandoc.h4
-rw-r--r--usr.bin/mandoc/read.c4
3 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/mandoc/mandoc.1 b/usr.bin/mandoc/mandoc.1
index 027f9cdc3b2..85896dd45e9 100644
--- a/usr.bin/mandoc/mandoc.1
+++ b/usr.bin/mandoc/mandoc.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mandoc.1,v 1.143 2017/09/07 14:22:58 dcoppa Exp $
+.\" $OpenBSD: mandoc.1,v 1.144 2017/11/10 22:48:05 jca 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/usr.bin/mandoc/mandoc.h b/usr.bin/mandoc/mandoc.h
index 8f4d4ee040a..8fc55a0b46c 100644
--- a/usr.bin/mandoc/mandoc.h
+++ b/usr.bin/mandoc/mandoc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mandoc.h,v 1.187 2017/07/08 14:51:01 schwarze Exp $ */
+/* $OpenBSD: mandoc.h,v 1.188 2017/11/10 22:48:05 jca 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/usr.bin/mandoc/read.c b/usr.bin/mandoc/read.c
index 2edad8551a8..d76c4c2248f 100644
--- a/usr.bin/mandoc/read.c
+++ b/usr.bin/mandoc/read.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: read.c,v 1.164 2017/07/20 14:36:32 schwarze Exp $ */
+/* $OpenBSD: read.c,v 1.165 2017/11/10 22:48:05 jca Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -94,7 +94,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",