Docs: better deprecation text
[openssl.git] / util / find-doc-nits
index 860bb9958bd2d8b7d86e0b962009fa2e286d2923..c041c1c81900bd493498a4faeeec204fa25c4b80 100755 (executable)
@@ -96,6 +96,7 @@ sub name_synopsis()
     return unless $contents =~ /=head1 SYNOPSIS(.*)=head1 DESCRIPTION/ms;
     my $syn = $1;
     foreach my $line ( split /\n+/, $syn ) {
+        next unless $line =~ /^\s/;
         my $sym;
         $line =~ s/STACK_OF\([^)]+\)/int/g;
         $line =~ s/__declspec\([^)]+\)//;