find-doc-nits: fix regexp and point out that CA.pl and tsget.pod are special
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Fri, 20 Nov 2020 11:29:32 +0000 (12:29 +0100)
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>
Sat, 5 Dec 2020 17:05:30 +0000 (18:05 +0100)
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13315)

util/find-doc-nits

index c311d792f2d7c68c62797df7fcb7e87820207166..6d8b7144dfac31eb1e5d953ceaec8f5eda37b9b1 100755 (executable)
@@ -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-/;
         }
     }