Skip to content

Commit

Permalink
Auto merge of #10210 - nyurik:test-help, r=ehuss
Browse files Browse the repository at this point in the history
Minor docs change for `cargo test --help`

Per #10208, make `cargo test -- --help` more discoverable.
  • Loading branch information
bors committed Dec 17, 2021
2 parents 8f8212c + 229c7cf commit fcef612
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/bin/cargo/commands/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ pub fn cli() -> App {
.arg_message_format()
.arg_unit_graph()
.arg_future_incompat_report()
.after_help("Run `cargo help test` for more detailed information.\n")
.after_help(
"Run `cargo help test` for more detailed information.\n\
Run `cargo test -- --help` for test binary options.\n",
)
}

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

0 comments on commit fcef612

Please sign in to comment.