Remove unused (outdated?) options (#212)
Co-authored-by: Josh Holmer <jholmer.in@gmail.com>
This commit is contained in:
parent
bb332fa6d7
commit
e8ff6f7526
2 changed files with 0 additions and 14 deletions
10
src/lib.rs
10
src/lib.rs
|
|
@ -131,14 +131,6 @@ pub struct Options {
|
||||||
/// Used only in CLI interface
|
/// Used only in CLI interface
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
pub recursive: bool,
|
pub recursive: bool,
|
||||||
/// Overwrite existing output files.
|
|
||||||
///
|
|
||||||
/// Default: `true`
|
|
||||||
pub clobber: bool,
|
|
||||||
/// Create new output files if they don't exist.
|
|
||||||
///
|
|
||||||
/// Default: `true`
|
|
||||||
pub create: bool,
|
|
||||||
/// Write to output even if there was no improvement in compression.
|
/// Write to output even if there was no improvement in compression.
|
||||||
///
|
///
|
||||||
/// Default: `false`
|
/// Default: `false`
|
||||||
|
|
@ -300,8 +292,6 @@ impl Default for Options {
|
||||||
pretend: false,
|
pretend: false,
|
||||||
recursive: false,
|
recursive: false,
|
||||||
fix_errors: false,
|
fix_errors: false,
|
||||||
clobber: true,
|
|
||||||
create: true,
|
|
||||||
force: false,
|
force: false,
|
||||||
preserve_attrs: false,
|
preserve_attrs: false,
|
||||||
verbosity: Some(0),
|
verbosity: Some(0),
|
||||||
|
|
|
||||||
|
|
@ -403,10 +403,6 @@ fn parse_opts_into_struct(
|
||||||
opts.fix_errors = true;
|
opts.fix_errors = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if matches.is_present("clobber") {
|
|
||||||
opts.clobber = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if matches.is_present("pretend") {
|
if matches.is_present("pretend") {
|
||||||
opts.pretend = true;
|
opts.pretend = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue