cmd/lncli: add description for payinvoice command
This commit is contained in:
1 parent
e3055640aa
commit
63b32b9e4a
1 file changed
+6
-3
@@ -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{
|
||||
|
||||
Reference in new issue
Block a user