From e1c27da30378940095806b2bf9989b162ed8ac07 Mon Sep 17 00:00:00 2001 From: fanquake Date: Sun, 27 Jan 2019 22:47:55 +0800 Subject: doc: correct logging rpc return type and example --- 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 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()); } -- cgit v1.2.3