diff options
author | Matthias St. Pierre <matthias.st.pierre@ncp-e.com> | 2023-05-17 18:37:40 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-06-09 09:47:34 +0200 |
commit | 0ef024a492212b6cac30d62485a3b29632af2ee2 (patch) | |
tree | 00326fd98ced3552a62a40c6809f2c13c71ff003 | |
parent | 34df960a75aeb85b97e5ac70465275c2057ee1a3 (diff) |
util/find-doc-nits: extend regex to match new OPT_INFORM A
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7320)
-rwxr-xr-x | util/find-doc-nits | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/find-doc-nits b/util/find-doc-nits index 526597d9d0..795c59800f 100755 --- a/util/find-doc-nits +++ b/util/find-doc-nits @@ -1083,7 +1083,7 @@ sub checkflags { err("$cmd does not implement help for -$expect_helpstr") unless m/^\s*"/; $expect_helpstr = ""; } - if (m/\{\s*"([^"]+)"\s*,\s*OPT_[A-Z0-9_]+\s*,\s*('[-\/:<>cEfFlMnNpsuU]'|0)(.*)$/ + if (m/\{\s*"([^"]+)"\s*,\s*OPT_[A-Z0-9_]+\s*,\s*('[-\/:<>cAEfFlMnNpsuU]'|0)(.*)$/ && !($cmd eq "s_client" && $1 eq "wdebug")) { push @cmdopts, $1; $expect_helpstr = $1; @@ -1122,7 +1122,7 @@ sub checkflags { err("$doc: undocumented $cmd option -$_"); } - # See what's in the command not the manpage. + # See what's in the manpage not the command. my @unimpl = sort grep { my $e = $_; !(grep /^\Q$e\E$/, @cmdopts) } keys %docopts; foreach ( @unimpl ) { next if $_ eq "-"; # Skip the -- end-of-flags marker |