From e95f95eb08af0ba8ac201859a0d2fa0fb8c2003d Mon Sep 17 00:00:00 2001 From: ryneeverett Date: Sun, 24 Dec 2023 08:57:01 -0500 Subject: [PATCH] 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 --- taskchampion/xtask/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taskchampion/xtask/src/main.rs b/taskchampion/xtask/src/main.rs index e7db2f21e..b545ee098 100644 --- a/taskchampion/xtask/src/main.rs +++ b/taskchampion/xtask/src/main.rs @@ -58,7 +58,7 @@ fn codegen(workspace_dir: &Path) -> anyhow::Result<()> { fn msrv(args: Vec, 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];