diff options
author | Rich Salz <rsalz@akamai.com> | 2019-10-02 15:40:42 -0400 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-10-06 10:21:55 +0200 |
commit | 833f7c8c55c3c8a572db2112a5c2eac92c8262b8 (patch) | |
tree | 91c466b546b71727bc97a2620c67e473c251e62f /util/find-doc-nits | |
parent | 89e5aaa1d72058404d3ea06bfaeff5334aba202d (diff) |
Also mention -- flag and ignore if undocumented
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10077)
Diffstat (limited to 'util/find-doc-nits')
-rwxr-xr-x | util/find-doc-nits | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/find-doc-nits b/util/find-doc-nits index c1e33fcfe4..ea5254b729 100755 --- a/util/find-doc-nits +++ b/util/find-doc-nits @@ -809,6 +809,7 @@ sub checkflags { } if ( scalar @undocced > 0 ) { foreach ( @undocced ) { + next if /-/; # Skip the -- end-of-flags marker err("$doc: undocumented option -$_"); } } |