From eb49a234e3efce43956c15a40a8da99e9341cea8 Mon Sep 17 00:00:00 2001 From: Adam Spofford Date: Mon, 29 Aug 2022 11:28:12 -0700 Subject: [PATCH] Fix `quill generate` arg --- src/commands/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/mod.rs b/src/commands/mod.rs index e2ce9610..265cb58e 100644 --- a/src/commands/mod.rs +++ b/src/commands/mod.rs @@ -46,7 +46,7 @@ pub enum Command { UpdateNodeProvider(BaseOpts), ReplaceNodeProviderId(BaseOpts), /// Generate a mnemonic seed phrase and generate or recover PEM. - Generate(BaseOpts), + Generate(generate::GenerateOpts), /// Print QR Scanner dapp QR code: scan to start dapp to submit QR results. ScannerQRCode, /// Print QR code for data e.g. principal id. @@ -109,7 +109,7 @@ pub fn dispatch(cmd: Command) -> AnyhowResult { Command::Send(opts) => runtime.block_on(async { send::exec(opts.command_opts, opts.global_opts.fetch_root_key).await })?, - Command::Generate(opts) => generate::exec(opts.command_opts)?, + Command::Generate(opts) => generate::exec(opts)?, // QR code for URL: https://p5deo-6aaaa-aaaab-aaaxq-cai.raw.ic0.app/ // Source code: https://github.com/ninegua/ic-qr-scanner Command::ScannerQRCode => {