Remove unused (outdated?) options

This commit is contained in:
Ingvar Stepanyan 2020-04-15 22:04:46 +01:00
parent 139b2878d0
commit 8334834c3f
2 changed files with 0 additions and 14 deletions

View file

@ -132,14 +132,6 @@ pub struct Options {
/// Used only in CLI interface
#[doc(hidden)]
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.
///
/// Default: `false`
@ -305,8 +297,6 @@ impl Default for Options {
pretend: false,
recursive: false,
fix_errors: false,
clobber: true,
create: true,
force: false,
preserve_attrs: false,
verbosity: Some(0),

View file

@ -403,10 +403,6 @@ fn parse_opts_into_struct(
opts.fix_errors = true;
}
if matches.is_present("clobber") {
opts.clobber = false;
}
if matches.is_present("pretend") {
opts.pretend = true;
}