diff --git a/src/bin/cargo/main.rs b/src/bin/cargo/main.rs index aa20372644b..e94d2986faa 100644 --- a/src/bin/cargo/main.rs +++ b/src/bin/cargo/main.rs @@ -281,7 +281,7 @@ fn execute_external_subcommand(gctx: &GlobalContext, cmd: &str, args: &[&OsStr]) { let sep = std::path::MAIN_SEPARATOR; format!( - "\nhelp: To run the file `{cmd}`, provide a relative path like `.{sep}{cmd}`" + "\nhelp: to run the file `{cmd}`, provide a relative path like `.{sep}{cmd}`" ) } else { "".to_owned() diff --git a/tests/testsuite/script/cargo.rs b/tests/testsuite/script/cargo.rs index 6d8a2e96b89..6da111c60f3 100644 --- a/tests/testsuite/script/cargo.rs +++ b/tests/testsuite/script/cargo.rs @@ -142,7 +142,7 @@ fn path_required() { [HELP] view all installed commands with `cargo --list` [HELP] find a package to install `echo` with `cargo search cargo-echo` -[HELP] To run the file `echo`, provide a relative path like `./echo` +[HELP] to run the file `echo`, provide a relative path like `./echo` "#]]) .run();