mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-05-12 12:52:53 +02:00
cmd/lncli: add description for payinvoice command
This commit is contained in:
parent
e3055640aa
commit
63b32b9e4a
@ -803,9 +803,12 @@ func formatPayment(ctxc context.Context, payment *lnrpc.Payment,
|
|||||||
}
|
}
|
||||||
|
|
||||||
var payInvoiceCommand = cli.Command{
|
var payInvoiceCommand = cli.Command{
|
||||||
Name: "payinvoice",
|
Name: "payinvoice",
|
||||||
Category: "Payments",
|
Category: "Payments",
|
||||||
Usage: "Pay an invoice over lightning.",
|
Usage: "Pay an invoice over lightning.",
|
||||||
|
Description: `
|
||||||
|
This command is a shortcut for 'sendpayment --pay_req='.
|
||||||
|
`,
|
||||||
ArgsUsage: "pay_req",
|
ArgsUsage: "pay_req",
|
||||||
Flags: append(paymentFlags(),
|
Flags: append(paymentFlags(),
|
||||||
cli.Int64Flag{
|
cli.Int64Flag{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user