Remove --error-limit to prepare for release

pull/481/head 0.43.0
Wilfred Hughes 2023-02-02 22:22:09 +07:00
parent 0177ce27f9
commit ed0f50fa68
1 changed files with 10 additions and 10 deletions

@ -230,16 +230,16 @@ fn app() -> clap::Command<'static> {
.validator(|s| s.parse::<usize>())
.required(false),
)
.arg(
Arg::new("error-limit").long("error-limit")
.takes_value(true)
.value_name("LIMIT")
.help(concat!("Use a text diff if the number of parse errors exceeds this number."))
.default_value("0")
.env("DFT_ERROR_LIMIT")
.validator(|s| s.parse::<usize>())
.required(false),
)
// .arg(
// Arg::new("error-limit").long("error-limit")
// .takes_value(true)
// .value_name("LIMIT")
// .help(concat!("Use a text diff if the number of parse errors exceeds this number."))
// .default_value("0")
// .env("DFT_ERROR_LIMIT")
// .validator(|s| s.parse::<usize>())
// .required(false),
// )
.arg(
Arg::new("paths")
.value_name("PATHS")