diff --git a/src/commands/era_check.rs b/src/commands/era_check.rs index 34c1ce8..3467e8e 100644 --- a/src/commands/era_check.rs +++ b/src/commands/era_check.rs @@ -22,11 +22,6 @@ pub fn run(args: &[std::ffi::OsString]) { .long("async-io") .hidden(true), ) - .arg( - Arg::with_name("AUTO_REPAIR") - .help("Auto repair trivial issues.") - .long("auto-repair"), - ) .arg( Arg::with_name("IGNORE_NON_FATAL") .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"), sb_only: matches.is_present("SB_ONLY"), ignore_non_fatal: matches.is_present("IGNORE_NON_FATAL"), - auto_repair: matches.is_present("AUTO_REPAIR"), report: report.clone(), }; diff --git a/src/era/check.rs b/src/era/check.rs index ab23ad0..dbde8d2 100644 --- a/src/era/check.rs +++ b/src/era/check.rs @@ -66,7 +66,6 @@ pub struct EraCheckOptions<'a> { pub async_io: bool, pub sb_only: bool, pub ignore_non_fatal: bool, - pub auto_repair: bool, pub report: Arc, }