From d1c2c5c7927bb8f19d32775bde819e77e5e54724 Mon Sep 17 00:00:00 2001 From: Vincenzo Palazzo Date: Fri, 4 Sep 2020 21:07:19 +0200 Subject: [PATCH] Fixed doc format and rebase Signed-off-by: Vincenzo Palazzo --- doc/lightning-listconfigs.7 | 15 ++++++++------- doc/lightning-listconfigs.7.md | 10 +++++++--- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/doc/lightning-listconfigs.7 b/doc/lightning-listconfigs.7 index 859a16861..5aa77b9b0 100644 --- a/doc/lightning-listconfigs.7 +++ b/doc/lightning-listconfigs.7 @@ -15,7 +15,9 @@ The \fBlistconfigs\fR teh RPC command to list all configuration options, or with { "id": 82, "method": "listconfigs", - "params": {} + "params": { + "config": "network" + } } .RE @@ -28,7 +30,7 @@ On success, an object with the following proprieties is returned: .IP \[bu] \fI# version\fR: A string that rappresents the version of node\. .IP \[bu] -\fIlightning-di\fR: A string that rappresents the work dir of the node\. +\fIlightning-dir\fR: A string that rappresents the work dir of the node\. .IP \[bu] \fInetwork\fR: A string that rappresents the network (e\.g: bitcoin)\. .IP \[bu] @@ -115,17 +117,16 @@ On success, an object with the following proprieties is returned: .IP \[bu] \fIlog-level\fR: A string that rappresent the level of log\. .IP \[bu] +\fIlog-prefix\fR: A string that rappresent the log prefix\.i -\fIlog-prefix\fR: A string that rappresent the log prefix\. -On failure, one of the following error codes may be returned: +.RE +On failure, one of the following error codes may be returned: +.RS .IP \[bu] - -32602: Error in given parameters or field with \fIconfig\fR name doesn't exist\. - - .RE .SH EXAMPLE JSON RESPONSE .nf diff --git a/doc/lightning-listconfigs.7.md b/doc/lightning-listconfigs.7.md index 3ccd262d1..49e003e67 100644 --- a/doc/lightning-listconfigs.7.md +++ b/doc/lightning-listconfigs.7.md @@ -18,7 +18,9 @@ EXAMPLE JSON REQUEST { "id": 82, "method": "listconfigs", - "params": {} + "params": { + "config": "network" + } } ``` @@ -28,7 +30,7 @@ RETURN VALUE On success, an object with the following proprieties is returned: - *# version*: A string that rappresents the version of node. -- *lightning-di*: A string that rappresents the work dir of the node. +- *lightning-dir*: A string that rappresents the work dir of the node. - *network*: A string that rappresents the network (e.g: bitcoin). - *allow-deprecated-apis*: A boolean value that rappresent if the deprecated api are avaible on the node. - *rpc-file*: A string that rappresent the location of the rpc file. @@ -70,7 +72,9 @@ On success, an object with the following proprieties is returned: - *encrypted-hsm*: A boolean value that rappresent if the wallet is encrypted. - *rpc-file-mode*: A string that rappresent the value rpc-file-mode. - *log-level*: A string that rappresent the level of log. -- *log-prefix*: A string that rappresent the log prefix. +- *log-prefix*: A string that rappresent the log prefix.i + + On failure, one of the following error codes may be returned: - -32602: Error in given parameters or field with *config* name doesn't exist.