diff options
author | Rich Salz <rsalz@openssl.org> | 2017-04-03 15:29:56 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-04-07 13:30:04 -0400 |
commit | 5a3371e22164592d7ff6d69245768ed4dde89a1a (patch) | |
tree | d8b136aa557e3a69f77bf56d92de8892a2c078cc /util | |
parent | 79b4c806a1680b631937c5cfc74a65e7b0ad97f4 (diff) | |
download | openssl-5a3371e22164592d7ff6d69245768ed4dde89a1a.tar.gz |
Check for L<foo|foo>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3117)
Diffstat (limited to 'util')
-rwxr-xr-x | util/find-doc-nits | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/find-doc-nits b/util/find-doc-nits index f14e36ed4a..ff2409110a 100755 --- a/util/find-doc-nits +++ b/util/find-doc-nits @@ -160,6 +160,8 @@ sub check() if $contents =~ /=head1 NAME.*\.\n.*=head1 SYNOPSIS/ms; print "$id POD markup in NAME section\n" if $contents =~ /=head1 NAME.*[<>].*=head1 SYNOPSIS/ms; + print "$id Duplicate $1 in L<>\n" + if $contents =~ /L<([^>]*)\|([^>]*)>/ && $1 eq $2; # Look for multiple consecutive openssl #include lines. # Consecutive because of files like md5.pod. Sometimes it's okay |