Skip to content

Commit

Permalink
Allow man7 pages to not have a DESCRIPTION section
Browse files Browse the repository at this point in the history
For tutorial type pages it doesn't make any sense to have a DESCRIPTION
section.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from #21133)
  • Loading branch information
mattcaswell authored and paulidale committed Jun 14, 2023
1 parent f7b04ae commit a2b6865
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions util/find-doc-nits
Expand Up @@ -86,10 +86,10 @@ die "Argument of -m option may contain only man1, man3, man5, and/or man7"
my @sections = ( split /[, ]/, $opt_m );

my %mandatory_sections = (
'*' => [ 'NAME', 'DESCRIPTION', 'COPYRIGHT' ],
1 => [ 'SYNOPSIS', 'OPTIONS' ],
3 => [ 'SYNOPSIS', 'RETURN VALUES' ],
5 => [ ],
'*' => [ 'NAME', 'COPYRIGHT' ],
1 => [ 'DESCRIPTION', 'SYNOPSIS', 'OPTIONS' ],
3 => [ 'DESCRIPTION', 'SYNOPSIS', 'RETURN VALUES' ],
5 => [ 'DESCRIPTION' ],
7 => [ ]
);

Expand Down

0 comments on commit a2b6865

Please sign in to comment.