From 520f4f33c33e5ab7182325d71dc9905f46f4af2a Mon Sep 17 00:00:00 2001 From: konstin Date: Tue, 27 Jun 2023 15:29:20 +0200 Subject: [PATCH] Fix ruff_dev repeat by removing short argument (#5388) ruff_dev repeat recently broke (i think with the cargo update?): > thread 'main' panicked at 'Command repeat: Short option names must be unique for each argument, but '-n' is in use by both 'no_cache' and 'repeat'' This fixes this by removing the short argument. --- crates/ruff_dev/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff_dev/src/main.rs b/crates/ruff_dev/src/main.rs index 0327211a20..243fceb34b 100644 --- a/crates/ruff_dev/src/main.rs +++ b/crates/ruff_dev/src/main.rs @@ -60,7 +60,7 @@ enum Command { #[clap(flatten)] log_level_args: ruff_cli::args::LogLevelArgs, /// Run this many times - #[clap(long, short = 'n')] + #[clap(long)] repeat: usize, }, /// Format a repository twice and ensure that it looks that the first and second formatting