remove ugly hack

This commit is contained in:
valoq 2025-06-29 13:33:41 +02:00
parent 3799f9ee5b
commit 639fab3476
No known key found for this signature in database
GPG Key ID: 19F09A0FB865CBD8

View File

@ -49,8 +49,6 @@ pub struct CliArgs {
#[arg(short = 'c', long, global = true)] #[arg(short = 'c', long, global = true)]
pub threads: Option<usize>, pub threads: Option<usize>,
pub output_dir: Option<PathBuf>,
// Ouch and claps subcommands // Ouch and claps subcommands
#[command(subcommand)] #[command(subcommand)]
pub cmd: Subcommand, pub cmd: Subcommand,
@ -157,7 +155,6 @@ mod tests {
// This is usually replaced in assertion tests // This is usually replaced in assertion tests
password: None, password: None,
threads: None, threads: None,
output_dir: None,
cmd: Subcommand::Decompress { cmd: Subcommand::Decompress {
// Put a crazy value here so no test can assert it unintentionally // Put a crazy value here so no test can assert it unintentionally
files: vec!["\x00\x11\x22".into()], files: vec!["\x00\x11\x22".into()],