Remove unused (outdated?) options (#212)

Co-authored-by: Josh Holmer <jholmer.in@gmail.com>
This commit is contained in:
Ingvar Stepanyan 2020-04-17 10:16:18 +01:00 committed by GitHub
parent bb332fa6d7
commit e8ff6f7526
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 14 deletions

View file

@ -131,14 +131,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`
@ -300,8 +292,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;
}