Skip to content

Commit

Permalink
Remove --error-limit to prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Feb 3, 2023
1 parent 0177ce2 commit ed0f50f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit ed0f50f

Please sign in to comment.