cargo-miri: recognize --verbose alongside -v

This commit is contained in:
Ralf Jung
2025-05-30 16:47:28 +02:00
parent 261e4446d1
commit 3e126f25d1

View File

@@ -90,7 +90,7 @@ pub fn phase_cargo_miri(mut args: impl Iterator<Item = String>) {
"`cargo miri` supports the following subcommands: `run`, `test`, `nextest`, `clean`, and `setup`." "`cargo miri` supports the following subcommands: `run`, `test`, `nextest`, `clean`, and `setup`."
), ),
}; };
let verbose = num_arg_flag("-v"); let verbose = num_arg_flag("-v") + num_arg_flag("--verbose");
let quiet = has_arg_flag("-q") || has_arg_flag("--quiet"); let quiet = has_arg_flag("-q") || has_arg_flag("--quiet");
// Determine the involved architectures. // Determine the involved architectures.