mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
xtask msrv: this subcommand is not capitalized (#3218)
$ cargo xtask MSRV 1.99 Finished dev [unoptimized + debuginfo] target(s) in 0.21s Running `target/debug/xtask MSRV 1.99` Error: xtask: unknown xtask $ cargo xtask msrv 1.99 Finished dev [unoptimized + debuginfo] target(s) in 0.21s Running `target/debug/xtask msrv 1.99` xtask: Updated MSRV in ../.github/workflows/checks.yml xtask: Updated MSRV in ../.github/workflows/rust-tests.yml xtask: Updated MSRV in taskchampion/src/lib.rs xtask: Updated MSRV in taskchampion/Cargo.toml
This commit is contained in:
parent
1c11f8b650
commit
e95f95eb08
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ fn codegen(workspace_dir: &Path) -> anyhow::Result<()> {
|
|||
fn msrv(args: Vec<String>, workspace_dir: &Path) -> anyhow::Result<()> {
|
||||
// check that (X.Y) argument is (mostly) valid:
|
||||
if args.len() < 3 || !args[2].chars().all(|c| c.is_numeric() || c == '.') {
|
||||
anyhow::bail!("xtask: Invalid argument format. Xtask MSRV argument takes the form \"X.Y(y)\", where XYy are numbers. eg: `cargo run xtask MSRV 1.68`");
|
||||
anyhow::bail!("xtask: Invalid argument format. Xtask msrv argument takes the form \"X.Y(y)\", where XYy are numbers. eg: `cargo run xtask msrv 1.68`");
|
||||
}
|
||||
let version_replacement_string = &args[2];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue