mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 11:59:16 +01:00
doc: update usage of lightning-invoice.
The new parameter name (this version) is amount_msat: msatoshi is deprecated. The doc/schemas/invoice.request.json has this correct (but we don't generate teh *usage* line from that yet!) Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
82f7035524
commit
9219e778a1
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ lightning-invoice -- Command for accepting payments
|
|||
SYNOPSIS
|
||||
--------
|
||||
|
||||
**invoice** *msatoshi* *label* *description* [*expiry*]
|
||||
**invoice** *amount_msat* *label* *description* [*expiry*]
|
||||
[*fallbacks*] [*preimage*] [*exposeprivatechannels*] [*cltv*] [*deschashonly*]
|
||||
|
||||
DESCRIPTION
|
||||
|
@ -16,7 +16,7 @@ lightning daemon can use to pay this invoice. This token includes a
|
|||
*route hint* description of an incoming channel with capacity to pay the
|
||||
invoice, if any exists.
|
||||
|
||||
The *msatoshi* parameter can be the string "any", which creates an
|
||||
The *amount_msat* parameter can be the string "any", which creates an
|
||||
invoice that can be paid with any amount. Otherwise it is a positive value in
|
||||
millisatoshi precision; it can be a whole number, or a whole number
|
||||
ending in *msat* or *sat*, or a number with three decimal places ending
|
||||
|
|
Loading…
Add table
Reference in a new issue