diff --git a/um_cli/src/cmd/qmc1.rs b/um_cli/src/cmd/qmc1.rs index ea68f9a..a9ed9f2 100644 --- a/um_cli/src/cmd/qmc1.rs +++ b/um_cli/src/cmd/qmc1.rs @@ -1,9 +1,9 @@ +use crate::Cli; use anyhow::Result; use clap::Args; use std::fs::File; use std::io::{Read, Write}; use std::path::PathBuf; -use crate::Cli; /// Decrypt a QMCv1 file #[derive(Args)] diff --git a/um_cli/src/main.rs b/um_cli/src/main.rs index 8d436c7..5f342f7 100644 --- a/um_cli/src/main.rs +++ b/um_cli/src/main.rs @@ -22,7 +22,7 @@ pub struct Cli { /// Preferred buffer size when reading file, in bytes. /// Default to 4MiB. #[clap(long, short = 'B', default_value_t=4*1024*1024)] - buffer_size: usize + buffer_size: usize, } fn run_command(cli: &Cli) -> Result {