From 1e349679963b1011c16931d8efae0d3d7933a72b Mon Sep 17 00:00:00 2001 From: thephez Date: Thu, 22 Aug 2019 06:14:22 -0400 Subject: [PATCH] Added getmemoryinfo parameter string update (#3062) - Make consistent with other RPCs --- src/rpc/misc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp index 7e03c80b5d..74dc76d8e7 100644 --- a/src/rpc/misc.cpp +++ b/src/rpc/misc.cpp @@ -1163,8 +1163,8 @@ UniValue getmemoryinfo(const JSONRPCRequest& request) throw std::runtime_error( "getmemoryinfo (\"mode\")\n" "Returns an object containing information about memory usage.\n" - "Arguments:\n" - "1. \"mode\" determines what kind of information is returned. This argument is optional, the default mode is \"stats\".\n" + "\nArguments:\n" + "1. \"mode\" (string, optional, default: \"stats\") Determines what kind of information is returned.\n" " - \"stats\" returns general statistics about memory usage in the daemon.\n" " - \"mallocinfo\" returns an XML string describing low-level heap state (only available if compiled with glibc 2.10+).\n" "\nResult (mode \"stats\"):\n"