mirror of
https://github.com/ouch-org/ouch.git
synced 2025-07-19 08:00:31 +00:00
remove ugly hack
This commit is contained in:
parent
3799f9ee5b
commit
639fab3476
@ -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()],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user