aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/misc.cpp
diff options
context:
space:
mode:
authorfanquake <[email protected]>2019-01-27 22:47:55 +0800
committerfanquake <[email protected]>2019-01-29 23:05:52 +0800
commite1c27da30378940095806b2bf9989b162ed8ac07 (patch)
treeaeac1c9681bb1e485ab4745525b7c27e78907595 /src/rpc/misc.cpp
parentMerge #14987: RPCHelpMan: Pass through Result and Examples (diff)
downloaddiscoin-e1c27da30378940095806b2bf9989b162ed8ac07.tar.xz
discoin-e1c27da30378940095806b2bf9989b162ed8ac07.zip
doc: correct logging rpc return type and example
Diffstat (limited to 'src/rpc/misc.cpp')
-rw-r--r--src/rpc/misc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp
index dc3745858..9d17a2fc4 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());
}