diff --git a/src/index.ts b/src/index.ts index f677d36..468ffa6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -36,7 +36,7 @@ program " $ npx @getalby/cli auth https://my.albyhub.com --app-name OpenClaw\n" + ' $ npx @getalby/cli connect "nostr+walletconnect://..."\n' + " $ npx @getalby/cli get-balance\n" + - " $ npx @getalby/cli pay-invoice --invoice lnbc...", + " $ npx @getalby/cli pay-invoice lnbc...", ) .version("0.6.1") .option( diff --git a/src/test/nwc-payments.test.ts b/src/test/nwc-payments.test.ts index 87062d1..393812e 100644 --- a/src/test/nwc-payments.test.ts +++ b/src/test/nwc-payments.test.ts @@ -26,7 +26,7 @@ describe("NWC Payment Commands", () => { // Pay with sender wallet const paymentResult = runCli( - `-c "${sender.nwcUrl}" pay-invoice -i "${invoiceResult.output.invoice}"` + `-c "${sender.nwcUrl}" pay-invoice "${invoiceResult.output.invoice}"` ); expect(paymentResult.success).toBe(true); expect(paymentResult.output.preimage).toBeDefined(); @@ -41,7 +41,7 @@ describe("NWC Payment Commands", () => { // Pay the invoice first (unpaid invoices may not be found) const payResult = runCli( - `-c "${sender.nwcUrl}" pay-invoice -i "${invoiceResult.output.invoice}"` + `-c "${sender.nwcUrl}" pay-invoice "${invoiceResult.output.invoice}"` ); expect(payResult.success).toBe(true);