diff --git a/src/bin/cargo/commands/run.rs b/src/bin/cargo/commands/run.rs index 20b46052b3f..e95ba196e15 100644 --- a/src/bin/cargo/commands/run.rs +++ b/src/bin/cargo/commands/run.rs @@ -43,7 +43,8 @@ pub fn cli() -> Command { .arg_unit_graph() .arg_timings() .after_help(color_print::cstr!( - "Run `cargo help run` for more detailed information.\n" + "Run `cargo help run` for more detailed information.\n\ + To pass `--help` to the specified binary, use `-- --help`.\n", )) } diff --git a/tests/testsuite/cargo_run/help/stdout.term.svg b/tests/testsuite/cargo_run/help/stdout.term.svg index 96c7a6d27e6..6a1b8b25953 100644 --- a/tests/testsuite/cargo_run/help/stdout.term.svg +++ b/tests/testsuite/cargo_run/help/stdout.term.svg @@ -1,7 +1,7 @@ - +