From 9219e778a1e76335942173597f59e80974389780 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 18 Aug 2022 10:52:20 +0930 Subject: [PATCH] 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 --- doc/lightning-invoice.7.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/lightning-invoice.7.md b/doc/lightning-invoice.7.md index 77d445fdc..19f649d3e 100644 --- a/doc/lightning-invoice.7.md +++ b/doc/lightning-invoice.7.md @@ -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