diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-12-08 19:00:54 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-12-08 19:43:24 +0100 |
commit | faa0833c43b089d502e625ea6189d56ff7a419ae (patch) | |
tree | 666e22abd9c9881bf214b0059a9c79dc580595eb /src/rpc/util.cpp | |
parent | f727d814bd8df5a5346c128dd4573e457c1970e1 (diff) | |
download | bitcoin-faa0833c43b089d502e625ea6189d56ff7a419ae.tar.xz |
doc: Normalize RPC description whitespace
Diffstat (limited to 'src/rpc/util.cpp')
-rw-r--r-- | src/rpc/util.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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; |