mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
find-doc-nits -c: Fix handling in case expected helpstr is not found
Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15329)
This commit is contained in:
parent
5bac37cb14
commit
e34307b8ac
@ -1048,7 +1048,8 @@ sub checkflags {
|
||||
next if m/^\s*#\s*if/;
|
||||
err("$cmd does not implement help for -$expect_helpstr") unless m/^\s*"/;
|
||||
$expect_helpstr = "";
|
||||
} elsif (m/\{\s*"([^"]+)"\s*,\s*OPT_[A-Z0-9_]+\s*,\s*('[-\/:<>cEfFlMnNpsuU]'|0)\s*,(.*)$/
|
||||
}
|
||||
if (m/\{\s*"([^"]+)"\s*,\s*OPT_[A-Z0-9_]+\s*,\s*('[-\/:<>cEfFlMnNpsuU]'|0)\s*,(.*)$/
|
||||
&& !($cmd eq "s_client" && $1 eq "wdebug")) {
|
||||
push @cmdopts, $1;
|
||||
$expect_helpstr = $1;
|
||||
|
Loading…
Reference in New Issue
Block a user