Skip to content

Commit

Permalink
Minor docs change for cargo test --help
Browse files Browse the repository at this point in the history
Per #10208, make `cargo test -- --help` more discoverable.
  • Loading branch information
nyurik committed Dec 17, 2021
1 parent 8f8212c commit 229c7cf
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 229c7cf

Please sign in to comment.