731 | @@ -732,7 +732,7 @@ static UniValue getbalance(const JSONRPCRequest& request)
732 | {
733 | {"dummy", RPCArg::Type::STR, RPCArg::Optional::OMITTED_NAMED_ARG, "Remains for backward compatibility. Must be excluded or set to \"*\"."},
734 | {"minconf", RPCArg::Type::NUM, /* default */ "0", "Only include transactions confirmed at least this many times."},
735 | - {"include_watchonly", RPCArg::Type::BOOL, /* default */ "false", "Also include balance in watch-only addresses (see 'importaddress')"},
736 | + {"include_watchonly", RPCArg::Type::BOOL, /* default */ "false, true for watchonly wallets", "Also include balance in watch-only addresses (see 'importaddress')"},
Suggestion for the RPCHelpMan default messages: "true for watch-only wallets, otherwise false"
Grepping related cases in the codebase comes up with similar, e.g. src/wallet/rpcdump.cpp:120
As for "watchonly" vs "watch-only", in the descriptions on the same line it is dasherized and git grepping shows the same for user-facing messages. Unless other reviewers have a different opinion, it might be more clear to do the same?
yeah that message sounds better. I'll go with watch-only as well.