cmd/lncli: add description for payinvoice command

This commit is contained in:
MG-ng 2022-10-24 15:55:28 +02:00 committed by Oliver Gugger
parent e3055640aa
commit 63b32b9e4a
No known key found for this signature in database
GPG Key ID: 8E4256593F177720

View File

@ -803,9 +803,12 @@ func formatPayment(ctxc context.Context, payment *lnrpc.Payment,
}
var payInvoiceCommand = cli.Command{
Name: "payinvoice",
Category: "Payments",
Usage: "Pay an invoice over lightning.",
Name: "payinvoice",
Category: "Payments",
Usage: "Pay an invoice over lightning.",
Description: `
This command is a shortcut for 'sendpayment --pay_req='.
`,
ArgsUsage: "pay_req",
Flags: append(paymentFlags(),
cli.Int64Flag{