diff options
author | Wilfred Hughes <me@wilfred.me.uk> | 2023-02-02 22:22:09 -0800 |
---|---|---|
committer | Wilfred Hughes <me@wilfred.me.uk> | 2023-02-02 22:22:23 -0800 |
commit | ed0f50fa689a5f7099eb959074b3a06225d8a2a9 (patch) | |
tree | 22a9d2a01efa521b9bfff1b71b2b2b387ce52cb5 | |
parent | 0177ce27f984178ecda770e648ad6d8d02facbe6 (diff) |
Remove --error-limit to prepare for release0.43.0
-rw-r--r-- | src/options.rs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/options.rs b/src/options.rs index 7bc217733..d5438aa8a 100644 --- a/src/options.rs +++ b/src/options.rs @@ -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") |