mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Allow man7 pages to not have a DESCRIPTION section
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 https://github.com/openssl/openssl/pull/21133)
This commit is contained in:
parent
f7b04ae8b4
commit
a2b6865be5
@ -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 => [ ]
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user