Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/util.cpp
Show First 20 Lines • Show All 499 Lines • ▼ Show 20 Lines | for (const auto &arg : m_args) { | ||||
} | } | ||||
was_optional = false; | was_optional = false; | ||||
} | } | ||||
ret += arg.ToString(/* oneline */ true); | ret += arg.ToString(/* oneline */ true); | ||||
} | } | ||||
if (was_optional) { | if (was_optional) { | ||||
ret += " )"; | ret += " )"; | ||||
} | } | ||||
ret += "\n"; | ret += "\n\n"; | ||||
// Description | // Description | ||||
ret += m_description; | ret += m_description; | ||||
// Arguments | // Arguments | ||||
Sections sections; | Sections sections; | ||||
for (size_t i{0}; i < m_args.size(); ++i) { | for (size_t i{0}; i < m_args.size(); ++i) { | ||||
const auto &arg = m_args.at(i); | const auto &arg = m_args.at(i); | ||||
▲ Show 20 Lines • Show All 261 Lines • Show Last 20 Lines |