We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07ac23a commit afea119Copy full SHA for afea119
src/bin/cargo/commands/test.rs
@@ -18,7 +18,6 @@ pub fn cli() -> Command {
18
.num_args(0..)
19
.last(true),
20
)
21
- .arg(flag("doc", "Test only this library's documentation"))
22
.arg(flag("no-run", "Compile, but don't run tests"))
23
.arg(flag("no-fail-fast", "Run all tests regardless of failure"))
24
.arg_future_incompat_report()
@@ -47,6 +46,10 @@ pub fn cli() -> Command {
47
46
"Test all bench targets",
48
"Test all targets (does not include doctests)",
49
+ .arg(
50
+ flag("doc", "Test only this library's documentation")
51
+ .help_heading(heading::TARGET_SELECTION),
52
+ )
53
.arg_features()
54
.arg_jobs()
55
.arg_unsupported_keep_going()
tests/testsuite/cargo_test/help/stdout.term.svg
0 commit comments