]> git.proxmox.com Git - cargo.git/commitdiff
Minor docs change for `cargo test --help`
authorYuri Astrakhan <YuriAstrakhan@gmail.com>
Fri, 17 Dec 2021 02:03:36 +0000 (21:03 -0500)
committerYuri Astrakhan <YuriAstrakhan@gmail.com>
Fri, 17 Dec 2021 02:03:36 +0000 (21:03 -0500)
Per #10208, make `cargo test -- --help` more discoverable.

src/bin/cargo/commands/test.rs

index 1be51e016b00338854e9ee6feefe2dd5f6c76146..d03ed99d206c712e797d039abb92ed530044c8b5 100644 (file)
@@ -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 {