From bea6ea27e82ca60220c115a0c6ad181c5170b6a8 Mon Sep 17 00:00:00 2001 From: Vincenzo Palazzo Date: Mon, 6 Sep 2021 12:08:07 +0200 Subject: [PATCH] review 1/2: Fixed the doc missing details about formatting. Signed-off-by: Vincenzo Palazzo --- contrib/pyln-client/pyln/client/lightning.py | 2 +- doc/lightning-listpays.7 | 4 ++-- doc/lightning-listpays.7.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/pyln-client/pyln/client/lightning.py b/contrib/pyln-client/pyln/client/lightning.py index aec19e9c0..ae9660e79 100644 --- a/contrib/pyln-client/pyln/client/lightning.py +++ b/contrib/pyln-client/pyln/client/lightning.py @@ -935,7 +935,7 @@ class LightningRpc(UnixDomainSocketRpc): """ Show outgoing payments, regarding {bolt11} or {payment_hash} if set 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) payload = { diff --git a/doc/lightning-listpays.7 b/doc/lightning-listpays.7 index 9061ab2b1..522f0abb2 100644 --- a/doc/lightning-listpays.7 +++ b/doc/lightning-listpays.7 @@ -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 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 @@ -75,4 +75,4 @@ Rusty Russell \fI is mainly responsible\. Main web site: \fIhttps://github.com/ElementsProject/lightning\fR -\" SHA256STAMP:1bcd6c9a5203a21cad1d12ff64eb7076fca915e2f8e582bcced71e1d1df67041 +\" SHA256STAMP:692ceb55d59f5fdf5a3787841a169e2e5b5181d1270bb56277bf40951230553f diff --git a/doc/lightning-listpays.7.md b/doc/lightning-listpays.7.md index f60d0abe5..85b993434 100644 --- a/doc/lightning-listpays.7.md +++ b/doc/lightning-listpays.7.md @@ -11,7 +11,7 @@ DESCRIPTION The **listpay** RPC command gets the status of all *pay* commands, or a 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 ------------