From 4491118494c332c9ce0a0c4533804744d63701f2 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 4 May 2022 16:11:12 -0300 Subject: add restricted option to manual withdraw --- packages/taler-wallet-cli/src/index.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packages/taler-wallet-cli/src/index.ts') diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts index a4c99902c..5ba6e4bf2 100644 --- a/packages/taler-wallet-cli/src/index.ts +++ b/packages/taler-wallet-cli/src/index.ts @@ -775,6 +775,7 @@ advancedCli .requiredOption("amount", ["--amount"], clk.STRING, { help: "Amount to withdraw", }) + .maybeOption("restrictAge", ["--restrict-age"], clk.INT) .action(async (args) => { await withWallet(args, async (wallet) => { const exchangeBaseUrl = args.withdrawManually.exchange; @@ -796,6 +797,7 @@ advancedCli { amount, exchangeBaseUrl, + restrictAge: parseInt(String(args.withdrawManually.restrictAge), 10), }, ); const reservePub = resp.reservePub; -- cgit v1.2.3