From ed0f50fa689a5f7099eb959074b3a06225d8a2a9 Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Thu, 2 Feb 2023 22:22:09 -0800 Subject: [PATCH] Remove --error-limit to prepare for release --- src/options.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/options.rs b/src/options.rs index 7bc2177336..d5438aa8a5 100644 --- a/src/options.rs +++ b/src/options.rs @@ -230,16 +230,16 @@ fn app() -> clap::Command<'static> { .validator(|s| s.parse::()) .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::()) - .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::()) + // .required(false), + // ) .arg( Arg::new("paths") .value_name("PATHS")