···7777 let action = {
7878 if common_args.compress {
7979 Action::Compress
8080- } else if common_args.extract {
8080+ } else if common_args.extract || common_args.decompress {
8181 Action::Extract
8282 } else {
8383 Action::Compress
+4
src/utils.rs
···2121 #[arg(short, long)]
2222 pub extract: bool,
23232424+ /// Decompress the input. Alias of --extract
2525+ #[arg(short, long)]
2626+ pub decompress: bool,
2727+2428 /// List of I/O.
2529 /// This consists of all the inputs followed by the single output, with intelligent fallback to stdin/stdout.
2630 #[arg()]