[era_check (rust)] Remove unused option

This commit is contained in:
Ming-Hung Tsai 2021-09-29 17:57:59 +08:00
parent 8fa7f96dfd
commit 0215b5fecd
2 changed files with 0 additions and 7 deletions

View File

@ -22,11 +22,6 @@ pub fn run(args: &[std::ffi::OsString]) {
.long("async-io") .long("async-io")
.hidden(true), .hidden(true),
) )
.arg(
Arg::with_name("AUTO_REPAIR")
.help("Auto repair trivial issues.")
.long("auto-repair"),
)
.arg( .arg(
Arg::with_name("IGNORE_NON_FATAL") Arg::with_name("IGNORE_NON_FATAL")
.help("Only return a non-zero exit code if a fatal error is found.") .help("Only return a non-zero exit code if a fatal error is found.")
@ -71,7 +66,6 @@ pub fn run(args: &[std::ffi::OsString]) {
async_io: matches.is_present("ASYNC_IO"), async_io: matches.is_present("ASYNC_IO"),
sb_only: matches.is_present("SB_ONLY"), sb_only: matches.is_present("SB_ONLY"),
ignore_non_fatal: matches.is_present("IGNORE_NON_FATAL"), ignore_non_fatal: matches.is_present("IGNORE_NON_FATAL"),
auto_repair: matches.is_present("AUTO_REPAIR"),
report: report.clone(), report: report.clone(),
}; };

View File

@ -66,7 +66,6 @@ pub struct EraCheckOptions<'a> {
pub async_io: bool, pub async_io: bool,
pub sb_only: bool, pub sb_only: bool,
pub ignore_non_fatal: bool, pub ignore_non_fatal: bool,
pub auto_repair: bool,
pub report: Arc<Report>, pub report: Arc<Report>,
} }