Skip to content

Commit 1e34967

Browse files
thephezUdjinM6
authored andcommitted
Added getmemoryinfo parameter string update (#3062)
- Make consistent with other RPCs
1 parent 9d2d8cc commit 1e34967

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rpc/misc.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,8 +1163,8 @@ UniValue getmemoryinfo(const JSONRPCRequest& request)
11631163
throw std::runtime_error(
11641164
"getmemoryinfo (\"mode\")\n"
11651165
"Returns an object containing information about memory usage.\n"
1166-
"Arguments:\n"
1167-
"1. \"mode\" determines what kind of information is returned. This argument is optional, the default mode is \"stats\".\n"
1166+
"\nArguments:\n"
1167+
"1. \"mode\" (string, optional, default: \"stats\") Determines what kind of information is returned.\n"
11681168
" - \"stats\" returns general statistics about memory usage in the daemon.\n"
11691169
" - \"mallocinfo\" returns an XML string describing low-level heap state (only available if compiled with glibc 2.10+).\n"
11701170
"\nResult (mode \"stats\"):\n"

0 commit comments

Comments
 (0)