diff --git a/src/cargo/util/command_prelude.rs b/src/cargo/util/command_prelude.rs index 270b558c6c2f..92071e8aff39 100644 --- a/src/cargo/util/command_prelude.rs +++ b/src/cargo/util/command_prelude.rs @@ -119,7 +119,7 @@ pub trait CommandExt: Sized { actual: &'static str, ) -> Self { let msg = format!( - "There is no `--{want}` for `cargo {command}`. Only `--{actual}` is supported." + "there is no `--{want}` for `cargo {command}`. Only `--{actual}` is supported." ); let value_parser = UnknownArgumentValueParser::suggest(msg); self._arg(flag(want, "").value_parser(value_parser).hide(true)) diff --git a/tests/testsuite/build.rs b/tests/testsuite/build.rs index cb8c274939fe..18e5f6e30226 100644 --- a/tests/testsuite/build.rs +++ b/tests/testsuite/build.rs @@ -147,7 +147,7 @@ fn cargo_compile_with_unsupported_mode() { "\ error: unexpected argument '--debug' found - tip: There is no `--debug` for `cargo build`. Only `--release` is supported. + tip: there is no `--debug` for `cargo build`. Only `--release` is supported. Usage: cargo[EXE] build [OPTIONS] diff --git a/tests/testsuite/install.rs b/tests/testsuite/install.rs index b49cbec315ec..3b9614b1503c 100644 --- a/tests/testsuite/install.rs +++ b/tests/testsuite/install.rs @@ -2453,7 +2453,7 @@ fn install_with_unsupported_mode() { "\ error: unexpected argument '--release' found - tip: There is no `--release` for `cargo install`. Only `--debug` is supported. + tip: there is no `--release` for `cargo install`. Only `--debug` is supported. Usage: cargo[EXE] install [OPTIONS] [crate]...