Add a check for history section location to find-doc-nits
authorJoshua Lock <jlock@vmware.com>
Tue, 9 Apr 2019 14:10:08 +0000 (15:10 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 12 Apr 2019 13:50:02 +0000 (15:50 +0200)
commit573ac8f2228241771f727ecd8ff10f54073536d3
tree252247562ed0ada1ff702b88fce9a51f9a90eec9
parent95f92d57755a9bfc83135a585da69d497f7293d9
Add a check for history section location to find-doc-nits

Check that the HISTORY section is located after the SEE ALSO section,
this is a much more frequent order in OpenSSL manual pages (and UNIX
manual pages in general).

Also check that SEE ALSO comes after EXAMPLES, so that the tool can
ensure the correct manual section sequence.

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8729)
util/find-doc-nits