summaryrefslogtreecommitdiffstats
path: root/util/find-doc-nits
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2019-09-24 17:32:01 +0200
committerTomas Mraz <tmraz@fedoraproject.org>2019-09-26 08:10:47 +0200
commita6dd3a3aa2577fa6c3586b96fe0b46be336cff54 (patch)
tree4f186923d7f2761c795555124600bef92f8a8fe4 /util/find-doc-nits
parentMissing else in cipher_hw_aes_ocb_generic_initkey (diff)
downloadopenssl-a6dd3a3aa2577fa6c3586b96fe0b46be336cff54.tar.xz
openssl-a6dd3a3aa2577fa6c3586b96fe0b46be336cff54.zip
Ensure man1 POD files start with openssl-
Commit b6b66573 (PR #9679) renamed most POD files. This change causes find-doc-nits to flag misnamed files. Also fix the two misnamed files that it found. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/10000)
Diffstat (limited to '')
-rwxr-xr-xutil/find-doc-nits8
1 files changed, 8 insertions, 0 deletions
diff --git a/util/find-doc-nits b/util/find-doc-nits
index 03b88ea767..11dcfcbac3 100755
--- a/util/find-doc-nits
+++ b/util/find-doc-nits
@@ -667,6 +667,14 @@ if ( $opt_n ) {
check($_);
}
}
+
+ # If not given args, check that all man1 commands are named properly.
+ if ( scalar @ARGV == 0 ) {
+ foreach (glob('doc/man1/*.pod')) {
+ next if /CA.pl/ || /openssl.pod/;
+ err("$_ doesn't start with openssl-") unless /openssl-/;
+ }
+ }
}
if ( $opt_u || $opt_v) {