review 1/2: Fixed the doc missing details about formatting.

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
This commit is contained in:
Vincenzo Palazzo
2021-09-06 12:08:07 +02:00
committed by Rusty Russell
parent 9d5c992fc8
commit bea6ea27e8
3 changed files with 4 additions and 4 deletions

View File

@@ -935,7 +935,7 @@ class LightningRpc(UnixDomainSocketRpc):
""" """
Show outgoing payments, regarding {bolt11} or {payment_hash} if set Show outgoing payments, regarding {bolt11} or {payment_hash} if set
Can only specify one of {bolt11} or {payment_hash}. It is possible Can only specify one of {bolt11} or {payment_hash}. It is possible
filter the payments by status. filter the payments by {status}.
""" """
assert not (bolt11 and payment_hash) assert not (bolt11 and payment_hash)
payload = { payload = {

View File

@@ -9,7 +9,7 @@ lightning-listpays - Command for querying payment status
The \fBlistpay\fR RPC command gets the status of all \fIpay\fR commands, or a The \fBlistpay\fR RPC command gets the status of all \fIpay\fR commands, or a
single one if either \fIbolt11\fR or \fIpayment_hash\fR was specified\. single one if either \fIbolt11\fR or \fIpayment_hash\fR was specified\.
It is possible filter the payments also by status\. It is possible filter the payments also by \fIstatus\fR\.
.SH RETURN VALUE .SH RETURN VALUE
@@ -75,4 +75,4 @@ Rusty Russell \fI<rusty@rustcorp.com.au\fR> is mainly responsible\.
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
\" SHA256STAMP:1bcd6c9a5203a21cad1d12ff64eb7076fca915e2f8e582bcced71e1d1df67041 \" SHA256STAMP:692ceb55d59f5fdf5a3787841a169e2e5b5181d1270bb56277bf40951230553f

View File

@@ -11,7 +11,7 @@ DESCRIPTION
The **listpay** RPC command gets the status of all *pay* commands, or a The **listpay** RPC command gets the status of all *pay* commands, or a
single one if either *bolt11* or *payment_hash* was specified. single one if either *bolt11* or *payment_hash* was specified.
It is possible filter the payments also by status. It is possible filter the payments also by *status*.
RETURN VALUE RETURN VALUE
------------ ------------