From: Dr. David von Oheimb Date: Fri, 20 Nov 2020 11:29:32 +0000 (+0100) Subject: find-doc-nits: fix regexp and point out that CA.pl and tsget.pod are special X-Git-Tag: openssl-3.0.0-alpha10~131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b480ee369ae81a664518f440c2f7de94afc3b00;p=thirdparty%2Fopenssl.git 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) --- diff --git a/util/find-doc-nits b/util/find-doc-nits index c311d792f2d..6d8b7144dfa 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-/; } }