Skip to content

Commit fcef612

Browse files
committed
Auto merge of #10210 - nyurik:test-help, r=ehuss
Minor docs change for `cargo test --help` Per #10208, make `cargo test -- --help` more discoverable.
2 parents 8f8212c + 229c7cf commit fcef612

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/bin/cargo/commands/test.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@ pub fn cli() -> App {
5656
.arg_message_format()
5757
.arg_unit_graph()
5858
.arg_future_incompat_report()
59-
.after_help("Run `cargo help test` for more detailed information.\n")
59+
.after_help(
60+
"Run `cargo help test` for more detailed information.\n\
61+
Run `cargo test -- --help` for test binary options.\n",
62+
)
6063
}
6164

6265
pub fn exec(config: &mut Config, args: &ArgMatches<'_>) -> CliResult {

0 commit comments

Comments
 (0)