mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
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)
This commit is contained in:
parent
0dceb3f5d8
commit
a6dd3a3aa2
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user