[PATCH 2/2] [maint] Lint manpages with CHECKSTYLE=3 (up from 2).

James Youngman <[email protected]> Tue, 18 Nov 2025 09:15:59 +0000
Newsgroups gmane.comp.gnu.findutils.bugs,gmane.comp.gnu.findutils.patches
Message-ID <[email protected]>
* build-aux/man-lint.sh (check_manpages_with_groff_checkstyle_2):
change CHECKSTYLE to 3.  Rename this function to simply
check_manpages_with_groff_checkstyle.
---
 build-aux/man-lint.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/build-aux/man-lint.sh b/build-aux/man-lint.sh
index 17e6f3c4..3f381d41 100755
--- a/build-aux/man-lint.sh
+++ b/build-aux/man-lint.sh
@@ -51,12 +51,12 @@ check_manpages_format_without_error_messages() {
     return 0
 }
 
-check_manpages_with_groff_checkstyle_2() {
+check_manpages_with_groff_checkstyle() {
     for manpage
     do
 	fixed_width_context_message_without_newline \
-		 'check_manpages_with_groff_checkstyle_2' "${manpage}"
-	messages="$( ${GROFF} -t -z -ww -rCHECKSTYLE=2 -man ${srcdir}/${manpage} 2>&1 )"
+		 'check_manpages_with_groff_checkstyle' "${manpage}"
+	messages="$( ${GROFF} -t -z -ww -rCHECKSTYLE=3 -man ${srcdir}/${manpage} 2>&1 )"
 	if test -z "$messages"
 	then
 	    printf 'OK\n'
@@ -70,4 +70,4 @@ check_manpages_with_groff_checkstyle_2() {
 
 rv=0
 check_manpages_format_without_error_messages "$@" &&
-check_manpages_with_groff_checkstyle_2       "$@"
+check_manpages_with_groff_checkstyle         "$@"
-- 
2.39.5