summaryrefslogtreecommitdiffstats
path: root/util/find-doc-nits
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2023-06-07 12:10:41 +0100
committerPauli <pauli@openssl.org>2023-06-14 13:08:37 +1000
commita2b6865be563810fad17e2d925304fde8d7eaf30 (patch)
tree5d79d1715f8ad9b57e7bfd5babd5e70c1d4946a8 /util/find-doc-nits
parentf7b04ae8b4f58b3ce9b0562565f5fffa7a1c87e7 (diff)
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)
Diffstat (limited to 'util/find-doc-nits')
-rwxr-xr-xutil/find-doc-nits8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/find-doc-nits b/util/find-doc-nits
index 795c59800f..877838f00e 100755
--- a/util/find-doc-nits
+++ b/util/find-doc-nits
@@ -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 => [ ]
);