Added getmemoryinfo parameter string update (#3062)

- Make consistent with other RPCs
This commit is contained in:
thephez 2019-08-22 06:14:22 -04:00 committed by UdjinM6
parent 9d2d8ccede
commit 1e34967996

View File

@ -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"