diff options
author | fanquake <fanquake@gmail.com> | 2019-01-27 22:47:55 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2019-01-29 23:05:52 +0800 |
commit | e1c27da30378940095806b2bf9989b162ed8ac07 (patch) | |
tree | aeac1c9681bb1e485ab4745525b7c27e78907595 /src/rpc | |
parent | 7275365c9bc7e7ebd6bbf7dcb251946aac44b5de (diff) | |
download | bitcoin-e1c27da30378940095806b2bf9989b162ed8ac07.tar.xz |
doc: correct logging rpc return type and example
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/misc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp index dc3745858b..9d17a2fc4e 100644 --- a/src/rpc/misc.cpp +++ b/src/rpc/misc.cpp @@ -404,13 +404,13 @@ UniValue logging(const JSONRPCRequest& request) }, RPCResult{ "{ (json object where keys are the logging categories, and values indicates its status\n" - " \"category\": 0|1, (numeric) if being debug logged or not. 0:inactive, 1:active\n" + " \"category\": true|false, (bool) if being debug logged or not. false:inactive, true:active\n" " ...\n" "}\n" }, RPCExamples{ HelpExampleCli("logging", "\"[\\\"all\\\"]\" \"[\\\"http\\\"]\"") - + HelpExampleRpc("logging", "[\"all\"], \"[libevent]\"") + + HelpExampleRpc("logging", "[\"all\"], [\"libevent\"]") }, }.ToString()); } |