From 6b480ee369ae81a664518f440c2f7de94afc3b00 Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Fri, 20 Nov 2020 12:29:32 +0100 Subject: [PATCH] find-doc-nits: fix regexp and point out that CA.pl and tsget.pod are special Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/13315) --- util/find-doc-nits | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/find-doc-nits b/util/find-doc-nits index c311d792f2..6d8b7144df 100755 --- a/util/find-doc-nits +++ b/util/find-doc-nits @@ -1173,7 +1173,8 @@ if ( $opt_n ) { # If not given args, check that all man1 commands are named properly. if ( scalar @ARGV == 0 ) { foreach ( files(TAGS => [ 'public_manual', 'man1' ]) ) { - next if /CA.pl/ || /openssl\.pod/ || /tsget\.pod/; + next if /openssl\.pod/ + || /CA\.pl/ || /tsget\.pod/; # these commands are special cases err("$_ doesn't start with openssl-") unless /openssl-/; } }