Skip to content

Commit

Permalink
doc: rename waitinvoice manpage to waitanyinvoice.
Browse files Browse the repository at this point in the history
Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell committed Jan 22, 2017
1 parent d6ccf90 commit df59cef
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ MANPAGES := doc/lightning-cli.1 \
doc/lightning-invoice.7 \
doc/lightning-listinvoice.7 \
doc/lightning-sendpay.7 \
doc/lightning-waitinvoice.7
doc/lightning-waitanyinvoice.7

PROGRAMS := $(TEST_PROGRAMS)

Expand Down
12 changes: 6 additions & 6 deletions doc/lightning-waitinvoice.7 → doc/lightning-waitanyinvoice.7
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
'\" t
.\" Title: lightning-waitinvoice
.\" Title: lightning-waitanyinvoice
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 09/06/2016
.\" Date: 01/23/2017
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
.TH "LIGHTNING\-WAITINVOI" "7" "09/06/2016" "\ \&" "\ \&"
.TH "LIGHTNING\-WAITANYIN" "7" "01/23/2017" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
Expand All @@ -28,13 +28,13 @@
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
lightning-waitinvoice \- Protocol for waiting for payments\&.
lightning-waitanyinvoice \- Protocol for waiting for payments\&.
.SH "SYNOPSIS"
.sp
\fBwaitinvoice\fR [\fIlastlabel\fR]
\fBwaitanyinvoice\fR [\fIlastlabel\fR]
.SH "DESCRIPTION"
.sp
The \fBwaitinvoice\fR RPC command waits until an invoice is paid, then returns a single entry as per \fBlistinvoice\fR\&. It will not return for any invoices paid prior to or including \fIlastlabel\fR\&.
The \fBwaitanyinvoice\fR RPC command waits until an invoice is paid, then returns a single entry as per \fBlistinvoice\fR\&. It will not return for any invoices paid prior to or including \fIlastlabel\fR\&.
.sp
This is usually called iteratively: once with no arguments, then repeatedly with the returned \fIlabel\fR entry\&. This ensures that no paid invoice is missed\&.
.SH "RETURN VALUE"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
LIGHTNING-WAITINVOICE(7)
========================
LIGHTNING-WAITANYINVOICE(7)
===========================
:doctype: manpage

NAME
----
lightning-waitinvoice - Protocol for waiting for payments.
lightning-waitanyinvoice - Protocol for waiting for payments.

SYNOPSIS
--------
*waitinvoice* ['lastlabel']
*waitanyinvoice* ['lastlabel']

DESCRIPTION
-----------
The *waitinvoice* RPC command waits until an invoice is paid, then
The *waitanyinvoice* RPC command waits until an invoice is paid, then
returns a single entry as per *listinvoice*. It will not return for
any invoices paid prior to or including 'lastlabel'.

Expand Down

0 comments on commit df59cef

Please sign in to comment.