From faa0833c43b089d502e625ea6189d56ff7a419ae Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Wed, 8 Dec 2021 19:00:54 +0100 Subject: doc: Normalize RPC description whitespace --- src/rpc/util.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/rpc/util.cpp') diff --git a/src/rpc/util.cpp b/src/rpc/util.cpp index 683cf88af8..4a5cd0a4be 100644 --- a/src/rpc/util.cpp +++ b/src/rpc/util.cpp @@ -620,10 +620,9 @@ std::string RPCHelpMan::ToString() const ret += arg.ToString(/* oneline */ true); } if (was_optional) ret += " )"; - ret += "\n"; // Description - ret += m_description; + ret += "\n\n" + TrimString(m_description) + "\n"; // Arguments Sections sections; -- cgit v1.2.3