We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a787428 commit fa459bdCopy full SHA for fa459bd
src/rpc/util.cpp
@@ -504,7 +504,7 @@ std::string RPCHelpMan::ToString() const
504
ret += m_name;
505
bool was_optional{false};
506
for (const auto& arg : m_args) {
507
- if (arg.m_hidden) continue;
+ if (arg.m_hidden) break; // Any arg that follows is also hidden
508
const bool optional = arg.IsOptional();
509
ret += " ";
510
if (optional) {
@@ -526,7 +526,7 @@ std::string RPCHelpMan::ToString() const
526
Sections sections;
527
for (size_t i{0}; i < m_args.size(); ++i) {
528
const auto& arg = m_args.at(i);
529
530
531
if (i == 0) ret += "\nArguments:\n";
532
0 commit comments