diff options
author | Rich Salz <rsalz@openssl.org> | 2016-07-19 09:27:53 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-07-19 09:29:53 -0400 |
commit | aebb9aac486fe81fd2bd9eca7c508d305af2fbe0 (patch) | |
tree | a0fbb2a4b028867dba4bf3ebaf5f8d46a65c6667 /util | |
parent | d6accd504046e243155082160dd1e650fc13ea76 (diff) |
RT4593: Add space after comma (doc nits)
Update find-doc-nits to find errors in SYNOPSIS (the most common
place where they were missing).
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'util')
-rwxr-xr-x | util/find-doc-nits.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/find-doc-nits.pl b/util/find-doc-nits.pl index ba600367f6..d9d16d698e 100755 --- a/util/find-doc-nits.pl +++ b/util/find-doc-nits.pl @@ -83,6 +83,10 @@ sub name_synopsis() print "$id $sym missing from NAME section\n" unless defined $names{$sym}; $names{$sym} = 2; + + # Do some sanity checks on the prototype. + print "$id prototype missing spaces around commas: $line\n" + if ( $line =~ /[a-z0-9],[^ ]/ ); } foreach my $n ( keys %names ) { |