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.
This commit is contained in:
konstin 2023-06-27 15:29:20 +02:00 committed by GitHub
parent 7f6cb9dfb5
commit 520f4f33c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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