The exclusion isn’t needed. In fact, it prevents detection of "bla" + wrong()
.
For example, the following is not detected:
0diff --git a/src/wallet/rpc/addresses.cpp b/src/wallet/rpc/addresses.cpp
1index 1c2951deee..c1209013e5 100644
2--- a/src/wallet/rpc/addresses.cpp
3+++ b/src/wallet/rpc/addresses.cpp
4@@ -336,7 +336,8 @@ RPCHelpMan addmultisigaddress()
5 RPCHelpMan keypoolrefill()
6 {
7 return RPCHelpMan{"keypoolrefill",
8- "\nFills the keypool."+
9+ "\nRefills each descriptor keypool in the wallet up to the specified number of new keys.\n"
10+ "By default, descriptor wallets have 4 active ranged descriptors (\"legacy\", \"p2sh-segwit\", \"bech32\", and \"bech32m\"), each with " + std::to_string(DEFAULT_KEYPOOL_SIZE) + " entries.\n" +
11 HELP_REQUIRING_PASSPHRASE,
12 {
13 {"newsize", RPCArg::Type::NUM, RPCArg::DefaultHint{strprintf("%u, or as set by -keypool", DEFAULT_KEYPOOL_SIZE)}, "The new keypool size"},
Fix the script by detecting it.