fix subcommand

This commit is contained in:
valoq 2025-07-12 18:48:59 +02:00
parent 6b90deae14
commit a6cf506635
No known key found for this signature in database
GPG Key ID: 19F09A0FB865CBD8

View File

@ -89,6 +89,10 @@ pub enum Subcommand {
/// Archive target files instead of storing symlinks (supported by `tar` and `zip`)
#[arg(long, short = 'S')]
follow_symlinks: bool,
/// Mark sandbox as disabled
#[arg(long, global = true)]
disable_sandbox: bool,
},
/// Decompresses one or more files, optionally into another folder
#[command(visible_alias = "d")]
@ -123,6 +127,10 @@ pub enum Subcommand {
/// Show archive contents as a tree
#[arg(short, long)]
tree: bool,
/// Mark sandbox as disabled
#[arg(long, global = true)]
disable_sandbox: bool,
},
}
@ -170,6 +178,7 @@ mod tests {
output_dir: None,
remove: false,
no_smart_unpack: false,
disable_sandbox: true,
},
}
}