Skip to content

Commit

Permalink
cargo test --help: clarify --tests and --benches
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Oct 12, 2024
1 parent e8adba9 commit 2ca9dbc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/bin/cargo/commands/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ pub fn cli() -> Command {
"Test only the specified example",
"Test all examples",
"Test only the specified test target",
"Test all test targets",
"Test all targets that have `test = true` set",
"Test only the specified bench target",
"Test all bench targets",
"Test all targets in benchmark mode that have `bench = true` set",
"Test all targets (does not include doctests)",
)
.arg(
Expand Down
4 changes: 2 additions & 2 deletions tests/testsuite/cargo_test/help/stdout.term.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2ca9dbc

Please sign in to comment.