cmd/lncli: add description for payinvoice command

This commit is contained in:
MG-ng authored and Oliver Gugger committed 2023-06-13 11:58:34 +02:00
1 parent e3055640aa
commit 63b32b9e4a
1 file changed
+6 -3
+6 -3
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{