aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc_msg.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2021-06-02 18:28:19 +0000
committerIngo Schwarze <schwarze@openbsd.org>2021-06-02 18:28:19 +0000
commit827a22bf89a1e97e8bbe3ae764ac62a81c2d35d8 (patch)
tree9a6e0cb6c0af9bc82a7c7b97c2ae28aba7837fe5 /mandoc_msg.c
parentf888b17abe81be3175a5a71acf179f253f5f4b52 (diff)
downloadmandoc-827a22bf89a1e97e8bbe3ae764ac62a81c2d35d8.tar.gz
mandoc-827a22bf89a1e97e8bbe3ae764ac62a81c2d35d8.tar.zst
mandoc-827a22bf89a1e97e8bbe3ae764ac62a81c2d35d8.zip
In -W style mode, check .Xr links along the full manpath because
that is more useful for validating manuals of non-base software. Nothing changes in -W all mode: by default for -T lint, we still assume we want to check base system conventions, including usually not wanting to link to non-base manual pages. The use case, a partial idea how to handle it, and a preliminary patch was originally presented by kn@, then refined by me. Final patch tested and OK'ed by kn@.
Diffstat (limited to 'mandoc_msg.c')
-rw-r--r--mandoc_msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mandoc_msg.c b/mandoc_msg.c
index 3ec86744..7a127331 100644
--- a/mandoc_msg.c
+++ b/mandoc_msg.c
@@ -55,7 +55,6 @@ static const char *const type_message[MANDOCERR_MAX] = {
"unknown architecture",
"operating system explicitly specified",
"RCS id missing",
- "referenced manual not found",
"generic style suggestion",
@@ -69,6 +68,7 @@ static const char *const type_message[MANDOCERR_MAX] = {
"consider using OS macro",
"errnos out of order",
"duplicate errno",
+ "referenced manual not found",
"trailing delimiter",
"no blank before trailing delimiter",
"fill mode already enabled, skipping",