diff --git a/src/bin/cargo/commands/bench.rs b/src/bin/cargo/commands/bench.rs index 1f4c8df80ea..2d3a726f44a 100644 --- a/src/bin/cargo/commands/bench.rs +++ b/src/bin/cargo/commands/bench.rs @@ -36,9 +36,9 @@ pub fn cli() -> Command { "Benchmark only the specified example", "Benchmark all examples", "Benchmark only the specified test target", - "Benchmark all test targets", + "Benchmark all targets that have `test = true` set", "Benchmark only the specified bench target", - "Benchmark all bench targets", + "Benchmark all targets that have `bench = true` set", "Benchmark all targets", ) .arg_features() diff --git a/src/bin/cargo/commands/build.rs b/src/bin/cargo/commands/build.rs index 86d477ccac2..f0388949229 100644 --- a/src/bin/cargo/commands/build.rs +++ b/src/bin/cargo/commands/build.rs @@ -22,9 +22,9 @@ pub fn cli() -> Command { "Build only the specified example", "Build all examples", "Build only the specified test target", - "Build all test targets", + "Build all targets that have `test = true` set", "Build only the specified bench target", - "Build all bench targets", + "Build all targets that have `bench = true` set", "Build all targets", ) .arg_features() diff --git a/src/bin/cargo/commands/check.rs b/src/bin/cargo/commands/check.rs index 66f378c3e90..e528dac29e1 100644 --- a/src/bin/cargo/commands/check.rs +++ b/src/bin/cargo/commands/check.rs @@ -22,9 +22,9 @@ pub fn cli() -> Command { "Check only the specified example", "Check all examples", "Check only the specified test target", - "Check all test targets", + "Check all targets that have `test = true` set", "Check only the specified bench target", - "Check all bench targets", + "Check all targets that have `bench = true` set", "Check all targets", ) .arg_features() diff --git a/src/bin/cargo/commands/fix.rs b/src/bin/cargo/commands/fix.rs index e44980d1330..a4471d7b148 100644 --- a/src/bin/cargo/commands/fix.rs +++ b/src/bin/cargo/commands/fix.rs @@ -41,9 +41,9 @@ pub fn cli() -> Command { "Fix only the specified example", "Fix all examples", "Fix only the specified test target", - "Fix all test targets", + "Fix all targets that have `test = true` set", "Fix only the specified bench target", - "Fix all bench targets", + "Fix all targets that have `bench = true` set", "Fix all targets (default)", ) .arg_features() diff --git a/src/bin/cargo/commands/rustc.rs b/src/bin/cargo/commands/rustc.rs index 454282f0e6e..ff660a33518 100644 --- a/src/bin/cargo/commands/rustc.rs +++ b/src/bin/cargo/commands/rustc.rs @@ -38,9 +38,9 @@ pub fn cli() -> Command { "Build only the specified example", "Build all examples", "Build only the specified test target", - "Build all test targets", + "Build all targets that have `test = true` set", "Build only the specified bench target", - "Build all bench targets", + "Build all targets that have `bench = true` set", "Build all targets", ) .arg_features() diff --git a/src/bin/cargo/commands/rustdoc.rs b/src/bin/cargo/commands/rustdoc.rs index f9c290bf5a0..be72d4b50fc 100644 --- a/src/bin/cargo/commands/rustdoc.rs +++ b/src/bin/cargo/commands/rustdoc.rs @@ -26,9 +26,9 @@ pub fn cli() -> Command { "Build only the specified example", "Build all examples", "Build only the specified test target", - "Build all test targets", + "Build all targets that have `test = true` set", "Build only the specified bench target", - "Build all bench targets", + "Build all targets that have `bench = true` set", "Build all targets", ) .arg_features() diff --git a/src/bin/cargo/commands/test.rs b/src/bin/cargo/commands/test.rs index 73c3505100c..45e77e4da06 100644 --- a/src/bin/cargo/commands/test.rs +++ b/src/bin/cargo/commands/test.rs @@ -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 that have `bench = true` set", "Test all targets (does not include doctests)", ) .arg( diff --git a/src/doc/man/generated_txt/cargo-bench.txt b/src/doc/man/generated_txt/cargo-bench.txt index c05d527ad31..4c35f28c8fd 100644 --- a/src/doc/man/generated_txt/cargo-bench.txt +++ b/src/doc/man/generated_txt/cargo-bench.txt @@ -172,11 +172,11 @@ OPTIONS multiple times and supports common Unix glob patterns. --tests - Benchmark all targets in test mode that have the test = true - manifest flag set. By default this includes the library and binaries - built as unittests, and integration tests. Be aware that this will - also build any required dependencies, so the lib target may be built - twice (once as a unittest, and once as a dependency for binaries, + Benchmark all targets that have the test = true manifest flag set. + By default this includes the library and binaries built as + unittests, and integration tests. Be aware that this will also build + any required dependencies, so the lib target may be built twice + (once as a unittest, and once as a dependency for binaries, integration tests, etc.). Targets may be enabled or disabled by setting the test flag in the manifest settings for the target. @@ -185,11 +185,11 @@ OPTIONS multiple times and supports common Unix glob patterns. --benches - Benchmark all targets in benchmark mode that have the bench = true - manifest flag set. By default this includes the library and binaries - built as benchmarks, and bench targets. Be aware that this will also - build any required dependencies, so the lib target may be built - twice (once as a benchmark, and once as a dependency for binaries, + Benchmark all targets that have the bench = true manifest flag set. + By default this includes the library and binaries built as + benchmarks, and bench targets. Be aware that this will also build + any required dependencies, so the lib target may be built twice + (once as a benchmark, and once as a dependency for binaries, benchmarks, etc.). Targets may be enabled or disabled by setting the bench flag in the manifest settings for the target. diff --git a/src/doc/man/generated_txt/cargo-build.txt b/src/doc/man/generated_txt/cargo-build.txt index 201f70bd0df..cb13663834c 100644 --- a/src/doc/man/generated_txt/cargo-build.txt +++ b/src/doc/man/generated_txt/cargo-build.txt @@ -89,26 +89,26 @@ OPTIONS multiple times and supports common Unix glob patterns. --tests - Build all targets in test mode that have the test = true manifest - flag set. By default this includes the library and binaries built as - unittests, and integration tests. Be aware that this will also build - any required dependencies, so the lib target may be built twice - (once as a unittest, and once as a dependency for binaries, - integration tests, etc.). Targets may be enabled or disabled by - setting the test flag in the manifest settings for the target. + Build all targets that have the test = true manifest flag set. By + default this includes the library and binaries built as unittests, + and integration tests. Be aware that this will also build any + required dependencies, so the lib target may be built twice (once as + a unittest, and once as a dependency for binaries, integration + tests, etc.). Targets may be enabled or disabled by setting the test + flag in the manifest settings for the target. --bench name… Build the specified benchmark. This flag may be specified multiple times and supports common Unix glob patterns. --benches - Build all targets in benchmark mode that have the bench = true - manifest flag set. By default this includes the library and binaries - built as benchmarks, and bench targets. Be aware that this will also - build any required dependencies, so the lib target may be built - twice (once as a benchmark, and once as a dependency for binaries, - benchmarks, etc.). Targets may be enabled or disabled by setting the - bench flag in the manifest settings for the target. + Build all targets that have the bench = true manifest flag set. By + default this includes the library and binaries built as benchmarks, + and bench targets. Be aware that this will also build any required + dependencies, so the lib target may be built twice (once as a + benchmark, and once as a dependency for binaries, benchmarks, etc.). + Targets may be enabled or disabled by setting the bench flag in the + manifest settings for the target. --all-targets Build all targets. This is equivalent to specifying --lib --bins diff --git a/src/doc/man/generated_txt/cargo-check.txt b/src/doc/man/generated_txt/cargo-check.txt index 9cd11da02d1..7df6e62935e 100644 --- a/src/doc/man/generated_txt/cargo-check.txt +++ b/src/doc/man/generated_txt/cargo-check.txt @@ -86,26 +86,26 @@ OPTIONS multiple times and supports common Unix glob patterns. --tests - Check all targets in test mode that have the test = true manifest - flag set. By default this includes the library and binaries built as - unittests, and integration tests. Be aware that this will also build - any required dependencies, so the lib target may be built twice - (once as a unittest, and once as a dependency for binaries, - integration tests, etc.). Targets may be enabled or disabled by - setting the test flag in the manifest settings for the target. + Check all targets that have the test = true manifest flag set. By + default this includes the library and binaries built as unittests, + and integration tests. Be aware that this will also build any + required dependencies, so the lib target may be built twice (once as + a unittest, and once as a dependency for binaries, integration + tests, etc.). Targets may be enabled or disabled by setting the test + flag in the manifest settings for the target. --bench name… Check the specified benchmark. This flag may be specified multiple times and supports common Unix glob patterns. --benches - Check all targets in benchmark mode that have the bench = true - manifest flag set. By default this includes the library and binaries - built as benchmarks, and bench targets. Be aware that this will also - build any required dependencies, so the lib target may be built - twice (once as a benchmark, and once as a dependency for binaries, - benchmarks, etc.). Targets may be enabled or disabled by setting the - bench flag in the manifest settings for the target. + Check all targets that have the bench = true manifest flag set. By + default this includes the library and binaries built as benchmarks, + and bench targets. Be aware that this will also build any required + dependencies, so the lib target may be built twice (once as a + benchmark, and once as a dependency for binaries, benchmarks, etc.). + Targets may be enabled or disabled by setting the bench flag in the + manifest settings for the target. --all-targets Check all targets. This is equivalent to specifying --lib --bins diff --git a/src/doc/man/generated_txt/cargo-fix.txt b/src/doc/man/generated_txt/cargo-fix.txt index 53aa3a3a698..9b056183afa 100644 --- a/src/doc/man/generated_txt/cargo-fix.txt +++ b/src/doc/man/generated_txt/cargo-fix.txt @@ -159,26 +159,26 @@ OPTIONS multiple times and supports common Unix glob patterns. --tests - Fix all targets in test mode that have the test = true manifest flag - set. By default this includes the library and binaries built as - unittests, and integration tests. Be aware that this will also build - any required dependencies, so the lib target may be built twice - (once as a unittest, and once as a dependency for binaries, - integration tests, etc.). Targets may be enabled or disabled by - setting the test flag in the manifest settings for the target. + Fix all targets that have the test = true manifest flag set. By + default this includes the library and binaries built as unittests, + and integration tests. Be aware that this will also build any + required dependencies, so the lib target may be built twice (once as + a unittest, and once as a dependency for binaries, integration + tests, etc.). Targets may be enabled or disabled by setting the test + flag in the manifest settings for the target. --bench name… Fix the specified benchmark. This flag may be specified multiple times and supports common Unix glob patterns. --benches - Fix all targets in benchmark mode that have the bench = true - manifest flag set. By default this includes the library and binaries - built as benchmarks, and bench targets. Be aware that this will also - build any required dependencies, so the lib target may be built - twice (once as a benchmark, and once as a dependency for binaries, - benchmarks, etc.). Targets may be enabled or disabled by setting the - bench flag in the manifest settings for the target. + Fix all targets that have the bench = true manifest flag set. By + default this includes the library and binaries built as benchmarks, + and bench targets. Be aware that this will also build any required + dependencies, so the lib target may be built twice (once as a + benchmark, and once as a dependency for binaries, benchmarks, etc.). + Targets may be enabled or disabled by setting the bench flag in the + manifest settings for the target. --all-targets Fix all targets. This is equivalent to specifying --lib --bins diff --git a/src/doc/man/generated_txt/cargo-rustc.txt b/src/doc/man/generated_txt/cargo-rustc.txt index 3d993494059..3095cf9189e 100644 --- a/src/doc/man/generated_txt/cargo-rustc.txt +++ b/src/doc/man/generated_txt/cargo-rustc.txt @@ -80,26 +80,26 @@ OPTIONS multiple times and supports common Unix glob patterns. --tests - Build all targets in test mode that have the test = true manifest - flag set. By default this includes the library and binaries built as - unittests, and integration tests. Be aware that this will also build - any required dependencies, so the lib target may be built twice - (once as a unittest, and once as a dependency for binaries, - integration tests, etc.). Targets may be enabled or disabled by - setting the test flag in the manifest settings for the target. + Build all targets that have the test = true manifest flag set. By + default this includes the library and binaries built as unittests, + and integration tests. Be aware that this will also build any + required dependencies, so the lib target may be built twice (once as + a unittest, and once as a dependency for binaries, integration + tests, etc.). Targets may be enabled or disabled by setting the test + flag in the manifest settings for the target. --bench name… Build the specified benchmark. This flag may be specified multiple times and supports common Unix glob patterns. --benches - Build all targets in benchmark mode that have the bench = true - manifest flag set. By default this includes the library and binaries - built as benchmarks, and bench targets. Be aware that this will also - build any required dependencies, so the lib target may be built - twice (once as a benchmark, and once as a dependency for binaries, - benchmarks, etc.). Targets may be enabled or disabled by setting the - bench flag in the manifest settings for the target. + Build all targets that have the bench = true manifest flag set. By + default this includes the library and binaries built as benchmarks, + and bench targets. Be aware that this will also build any required + dependencies, so the lib target may be built twice (once as a + benchmark, and once as a dependency for binaries, benchmarks, etc.). + Targets may be enabled or disabled by setting the bench flag in the + manifest settings for the target. --all-targets Build all targets. This is equivalent to specifying --lib --bins diff --git a/src/doc/man/generated_txt/cargo-rustdoc.txt b/src/doc/man/generated_txt/cargo-rustdoc.txt index 968195e7486..ffe6c8e4d01 100644 --- a/src/doc/man/generated_txt/cargo-rustdoc.txt +++ b/src/doc/man/generated_txt/cargo-rustdoc.txt @@ -80,24 +80,24 @@ OPTIONS multiple times and supports common Unix glob patterns. --tests - Document all targets in test mode that have the test = true manifest - flag set. By default this includes the library and binaries built as - unittests, and integration tests. Be aware that this will also build - any required dependencies, so the lib target may be built twice - (once as a unittest, and once as a dependency for binaries, - integration tests, etc.). Targets may be enabled or disabled by - setting the test flag in the manifest settings for the target. + Document all targets that have the test = true manifest flag set. By + default this includes the library and binaries built as unittests, + and integration tests. Be aware that this will also build any + required dependencies, so the lib target may be built twice (once as + a unittest, and once as a dependency for binaries, integration + tests, etc.). Targets may be enabled or disabled by setting the test + flag in the manifest settings for the target. --bench name… Document the specified benchmark. This flag may be specified multiple times and supports common Unix glob patterns. --benches - Document all targets in benchmark mode that have the bench = true - manifest flag set. By default this includes the library and binaries - built as benchmarks, and bench targets. Be aware that this will also - build any required dependencies, so the lib target may be built - twice (once as a benchmark, and once as a dependency for binaries, + Document all targets that have the bench = true manifest flag set. + By default this includes the library and binaries built as + benchmarks, and bench targets. Be aware that this will also build + any required dependencies, so the lib target may be built twice + (once as a benchmark, and once as a dependency for binaries, benchmarks, etc.). Targets may be enabled or disabled by setting the bench flag in the manifest settings for the target. diff --git a/src/doc/man/generated_txt/cargo-test.txt b/src/doc/man/generated_txt/cargo-test.txt index 20d2de576f3..cf22817d0b2 100644 --- a/src/doc/man/generated_txt/cargo-test.txt +++ b/src/doc/man/generated_txt/cargo-test.txt @@ -190,26 +190,26 @@ OPTIONS multiple times and supports common Unix glob patterns. --tests - Test all targets in test mode that have the test = true manifest - flag set. By default this includes the library and binaries built as - unittests, and integration tests. Be aware that this will also build - any required dependencies, so the lib target may be built twice - (once as a unittest, and once as a dependency for binaries, - integration tests, etc.). Targets may be enabled or disabled by - setting the test flag in the manifest settings for the target. + Test all targets that have the test = true manifest flag set. By + default this includes the library and binaries built as unittests, + and integration tests. Be aware that this will also build any + required dependencies, so the lib target may be built twice (once as + a unittest, and once as a dependency for binaries, integration + tests, etc.). Targets may be enabled or disabled by setting the test + flag in the manifest settings for the target. --bench name… Test the specified benchmark. This flag may be specified multiple times and supports common Unix glob patterns. --benches - Test all targets in benchmark mode that have the bench = true - manifest flag set. By default this includes the library and binaries - built as benchmarks, and bench targets. Be aware that this will also - build any required dependencies, so the lib target may be built - twice (once as a benchmark, and once as a dependency for binaries, - benchmarks, etc.). Targets may be enabled or disabled by setting the - bench flag in the manifest settings for the target. + Test all targets that have the bench = true manifest flag set. By + default this includes the library and binaries built as benchmarks, + and bench targets. Be aware that this will also build any required + dependencies, so the lib target may be built twice (once as a + benchmark, and once as a dependency for binaries, benchmarks, etc.). + Targets may be enabled or disabled by setting the bench flag in the + manifest settings for the target. --all-targets Test all targets. This is equivalent to specifying --lib --bins diff --git a/src/doc/man/includes/options-targets.md b/src/doc/man/includes/options-targets.md index 3332001b0e6..a2e26b1a2e9 100644 --- a/src/doc/man/includes/options-targets.md +++ b/src/doc/man/includes/options-targets.md @@ -25,7 +25,7 @@ multiple times and supports common Unix glob patterns. {{/option}} {{#option "`--tests`" }} -{{actionverb}} all targets in test mode that have the `test = true` manifest +{{actionverb}} all targets that have the `test = true` manifest flag set. By default this includes the library and binaries built as unittests, and integration tests. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a @@ -40,7 +40,7 @@ times and supports common Unix glob patterns. {{/option}} {{#option "`--benches`" }} -{{actionverb}} all targets in benchmark mode that have the `bench = true` +{{actionverb}} all targets that have the `bench = true` manifest flag set. By default this includes the library and binaries built as benchmarks, and bench targets. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a diff --git a/src/doc/src/commands/cargo-bench.md b/src/doc/src/commands/cargo-bench.md index f0a7ef0356c..18d95a53dd2 100644 --- a/src/doc/src/commands/cargo-bench.md +++ b/src/doc/src/commands/cargo-bench.md @@ -193,7 +193,7 @@ multiple times and supports common Unix glob patterns.
--tests
-
Benchmark all targets in test mode that have the test = true manifest +
Benchmark all targets that have the test = true manifest flag set. By default this includes the library and binaries built as unittests, and integration tests. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a @@ -208,7 +208,7 @@ times and supports common Unix glob patterns.
--benches
-
Benchmark all targets in benchmark mode that have the bench = true +
Benchmark all targets that have the bench = true manifest flag set. By default this includes the library and binaries built as benchmarks, and bench targets. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a diff --git a/src/doc/src/commands/cargo-build.md b/src/doc/src/commands/cargo-build.md index bb9acce1ad7..3bf0944798f 100644 --- a/src/doc/src/commands/cargo-build.md +++ b/src/doc/src/commands/cargo-build.md @@ -108,7 +108,7 @@ multiple times and supports common Unix glob patterns.
--tests
-
Build all targets in test mode that have the test = true manifest +
Build all targets that have the test = true manifest flag set. By default this includes the library and binaries built as unittests, and integration tests. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a @@ -123,7 +123,7 @@ times and supports common Unix glob patterns.
--benches
-
Build all targets in benchmark mode that have the bench = true +
Build all targets that have the bench = true manifest flag set. By default this includes the library and binaries built as benchmarks, and bench targets. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a diff --git a/src/doc/src/commands/cargo-check.md b/src/doc/src/commands/cargo-check.md index 0dcbe6f142e..5592895ac5c 100644 --- a/src/doc/src/commands/cargo-check.md +++ b/src/doc/src/commands/cargo-check.md @@ -104,7 +104,7 @@ multiple times and supports common Unix glob patterns.
--tests
-
Check all targets in test mode that have the test = true manifest +
Check all targets that have the test = true manifest flag set. By default this includes the library and binaries built as unittests, and integration tests. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a @@ -119,7 +119,7 @@ times and supports common Unix glob patterns.
--benches
-
Check all targets in benchmark mode that have the bench = true +
Check all targets that have the bench = true manifest flag set. By default this includes the library and binaries built as benchmarks, and bench targets. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a diff --git a/src/doc/src/commands/cargo-fix.md b/src/doc/src/commands/cargo-fix.md index b7e64dda70d..eefcd8a51b9 100644 --- a/src/doc/src/commands/cargo-fix.md +++ b/src/doc/src/commands/cargo-fix.md @@ -184,7 +184,7 @@ multiple times and supports common Unix glob patterns.
--tests
-
Fix all targets in test mode that have the test = true manifest +
Fix all targets that have the test = true manifest flag set. By default this includes the library and binaries built as unittests, and integration tests. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a @@ -199,7 +199,7 @@ times and supports common Unix glob patterns.
--benches
-
Fix all targets in benchmark mode that have the bench = true +
Fix all targets that have the bench = true manifest flag set. By default this includes the library and binaries built as benchmarks, and bench targets. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a diff --git a/src/doc/src/commands/cargo-rustc.md b/src/doc/src/commands/cargo-rustc.md index a2c5d622880..7f6f0a49344 100644 --- a/src/doc/src/commands/cargo-rustc.md +++ b/src/doc/src/commands/cargo-rustc.md @@ -97,7 +97,7 @@ multiple times and supports common Unix glob patterns.
--tests
-
Build all targets in test mode that have the test = true manifest +
Build all targets that have the test = true manifest flag set. By default this includes the library and binaries built as unittests, and integration tests. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a @@ -112,7 +112,7 @@ times and supports common Unix glob patterns.
--benches
-
Build all targets in benchmark mode that have the bench = true +
Build all targets that have the bench = true manifest flag set. By default this includes the library and binaries built as benchmarks, and bench targets. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a diff --git a/src/doc/src/commands/cargo-rustdoc.md b/src/doc/src/commands/cargo-rustdoc.md index 8ebe96ecae0..162462594c7 100644 --- a/src/doc/src/commands/cargo-rustdoc.md +++ b/src/doc/src/commands/cargo-rustdoc.md @@ -103,7 +103,7 @@ multiple times and supports common Unix glob patterns.
--tests
-
Document all targets in test mode that have the test = true manifest +
Document all targets that have the test = true manifest flag set. By default this includes the library and binaries built as unittests, and integration tests. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a @@ -118,7 +118,7 @@ times and supports common Unix glob patterns.
--benches
-
Document all targets in benchmark mode that have the bench = true +
Document all targets that have the bench = true manifest flag set. By default this includes the library and binaries built as benchmarks, and bench targets. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a diff --git a/src/doc/src/commands/cargo-test.md b/src/doc/src/commands/cargo-test.md index a2c93c9c4a1..bd7d5f5650e 100644 --- a/src/doc/src/commands/cargo-test.md +++ b/src/doc/src/commands/cargo-test.md @@ -206,7 +206,7 @@ multiple times and supports common Unix glob patterns.
--tests
-
Test all targets in test mode that have the test = true manifest +
Test all targets that have the test = true manifest flag set. By default this includes the library and binaries built as unittests, and integration tests. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a @@ -221,7 +221,7 @@ times and supports common Unix glob patterns.
--benches
-
Test all targets in benchmark mode that have the bench = true +
Test all targets that have the bench = true manifest flag set. By default this includes the library and binaries built as benchmarks, and bench targets. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a diff --git a/src/etc/man/cargo-bench.1 b/src/etc/man/cargo-bench.1 index 0f726a6116f..c05423d54d7 100644 --- a/src/etc/man/cargo-bench.1 +++ b/src/etc/man/cargo-bench.1 @@ -208,7 +208,7 @@ multiple times and supports common Unix glob patterns. .sp \fB\-\-tests\fR .RS 4 -Benchmark all targets in test mode that have the \fBtest = true\fR manifest +Benchmark all targets that have the \fBtest = true\fR manifest flag set. By default this includes the library and binaries built as unittests, and integration tests. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a @@ -225,7 +225,7 @@ times and supports common Unix glob patterns. .sp \fB\-\-benches\fR .RS 4 -Benchmark all targets in benchmark mode that have the \fBbench = true\fR +Benchmark all targets that have the \fBbench = true\fR manifest flag set. By default this includes the library and binaries built as benchmarks, and bench targets. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a diff --git a/src/etc/man/cargo-build.1 b/src/etc/man/cargo-build.1 index ac59549c302..d6b009784fd 100644 --- a/src/etc/man/cargo-build.1 +++ b/src/etc/man/cargo-build.1 @@ -107,7 +107,7 @@ multiple times and supports common Unix glob patterns. .sp \fB\-\-tests\fR .RS 4 -Build all targets in test mode that have the \fBtest = true\fR manifest +Build all targets that have the \fBtest = true\fR manifest flag set. By default this includes the library and binaries built as unittests, and integration tests. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a @@ -124,7 +124,7 @@ times and supports common Unix glob patterns. .sp \fB\-\-benches\fR .RS 4 -Build all targets in benchmark mode that have the \fBbench = true\fR +Build all targets that have the \fBbench = true\fR manifest flag set. By default this includes the library and binaries built as benchmarks, and bench targets. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a diff --git a/src/etc/man/cargo-check.1 b/src/etc/man/cargo-check.1 index 8597b23199e..6ee8744e619 100644 --- a/src/etc/man/cargo-check.1 +++ b/src/etc/man/cargo-check.1 @@ -103,7 +103,7 @@ multiple times and supports common Unix glob patterns. .sp \fB\-\-tests\fR .RS 4 -Check all targets in test mode that have the \fBtest = true\fR manifest +Check all targets that have the \fBtest = true\fR manifest flag set. By default this includes the library and binaries built as unittests, and integration tests. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a @@ -120,7 +120,7 @@ times and supports common Unix glob patterns. .sp \fB\-\-benches\fR .RS 4 -Check all targets in benchmark mode that have the \fBbench = true\fR +Check all targets that have the \fBbench = true\fR manifest flag set. By default this includes the library and binaries built as benchmarks, and bench targets. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a diff --git a/src/etc/man/cargo-fix.1 b/src/etc/man/cargo-fix.1 index 12267f6343b..b96c1e46ad1 100644 --- a/src/etc/man/cargo-fix.1 +++ b/src/etc/man/cargo-fix.1 @@ -198,7 +198,7 @@ multiple times and supports common Unix glob patterns. .sp \fB\-\-tests\fR .RS 4 -Fix all targets in test mode that have the \fBtest = true\fR manifest +Fix all targets that have the \fBtest = true\fR manifest flag set. By default this includes the library and binaries built as unittests, and integration tests. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a @@ -215,7 +215,7 @@ times and supports common Unix glob patterns. .sp \fB\-\-benches\fR .RS 4 -Fix all targets in benchmark mode that have the \fBbench = true\fR +Fix all targets that have the \fBbench = true\fR manifest flag set. By default this includes the library and binaries built as benchmarks, and bench targets. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a diff --git a/src/etc/man/cargo-rustc.1 b/src/etc/man/cargo-rustc.1 index a13526f44b7..c0a73cd96e3 100644 --- a/src/etc/man/cargo-rustc.1 +++ b/src/etc/man/cargo-rustc.1 @@ -93,7 +93,7 @@ multiple times and supports common Unix glob patterns. .sp \fB\-\-tests\fR .RS 4 -Build all targets in test mode that have the \fBtest = true\fR manifest +Build all targets that have the \fBtest = true\fR manifest flag set. By default this includes the library and binaries built as unittests, and integration tests. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a @@ -110,7 +110,7 @@ times and supports common Unix glob patterns. .sp \fB\-\-benches\fR .RS 4 -Build all targets in benchmark mode that have the \fBbench = true\fR +Build all targets that have the \fBbench = true\fR manifest flag set. By default this includes the library and binaries built as benchmarks, and bench targets. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a diff --git a/src/etc/man/cargo-rustdoc.1 b/src/etc/man/cargo-rustdoc.1 index 3bb81033acc..61a8567d9d4 100644 --- a/src/etc/man/cargo-rustdoc.1 +++ b/src/etc/man/cargo-rustdoc.1 @@ -95,7 +95,7 @@ multiple times and supports common Unix glob patterns. .sp \fB\-\-tests\fR .RS 4 -Document all targets in test mode that have the \fBtest = true\fR manifest +Document all targets that have the \fBtest = true\fR manifest flag set. By default this includes the library and binaries built as unittests, and integration tests. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a @@ -112,7 +112,7 @@ times and supports common Unix glob patterns. .sp \fB\-\-benches\fR .RS 4 -Document all targets in benchmark mode that have the \fBbench = true\fR +Document all targets that have the \fBbench = true\fR manifest flag set. By default this includes the library and binaries built as benchmarks, and bench targets. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a diff --git a/src/etc/man/cargo-test.1 b/src/etc/man/cargo-test.1 index c450d8537de..19824b0fe20 100644 --- a/src/etc/man/cargo-test.1 +++ b/src/etc/man/cargo-test.1 @@ -222,7 +222,7 @@ multiple times and supports common Unix glob patterns. .sp \fB\-\-tests\fR .RS 4 -Test all targets in test mode that have the \fBtest = true\fR manifest +Test all targets that have the \fBtest = true\fR manifest flag set. By default this includes the library and binaries built as unittests, and integration tests. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a @@ -239,7 +239,7 @@ times and supports common Unix glob patterns. .sp \fB\-\-benches\fR .RS 4 -Test all targets in benchmark mode that have the \fBbench = true\fR +Test all targets that have the \fBbench = true\fR manifest flag set. By default this includes the library and binaries built as benchmarks, and bench targets. Be aware that this will also build any required dependencies, so the lib target may be built twice (once as a diff --git a/tests/testsuite/cargo_bench/help/stdout.term.svg b/tests/testsuite/cargo_bench/help/stdout.term.svg index 870028edd6f..74ef89cfb30 100644 --- a/tests/testsuite/cargo_bench/help/stdout.term.svg +++ b/tests/testsuite/cargo_bench/help/stdout.term.svg @@ -83,11 +83,11 @@ --example [<NAME>] Benchmark only the specified example - --tests Benchmark all test targets + --tests Benchmark all targets that have `test = true` set --test [<NAME>] Benchmark only the specified test target - --benches Benchmark all bench targets + --benches Benchmark all targets that have `bench = true` set --bench [<NAME>] Benchmark only the specified bench target diff --git a/tests/testsuite/cargo_build/help/stdout.term.svg b/tests/testsuite/cargo_build/help/stdout.term.svg index 009450cc88a..803fb0638d5 100644 --- a/tests/testsuite/cargo_build/help/stdout.term.svg +++ b/tests/testsuite/cargo_build/help/stdout.term.svg @@ -73,11 +73,11 @@ --example [<NAME>] Build only the specified example - --tests Build all test targets + --tests Build all targets that have `test = true` set --test [<NAME>] Build only the specified test target - --benches Build all bench targets + --benches Build all targets that have `bench = true` set --bench [<NAME>] Build only the specified bench target diff --git a/tests/testsuite/cargo_check/help/stdout.term.svg b/tests/testsuite/cargo_check/help/stdout.term.svg index 57e5a5c26fb..eb599841571 100644 --- a/tests/testsuite/cargo_check/help/stdout.term.svg +++ b/tests/testsuite/cargo_check/help/stdout.term.svg @@ -73,11 +73,11 @@ --example [<NAME>] Check only the specified example - --tests Check all test targets + --tests Check all targets that have `test = true` set --test [<NAME>] Check only the specified test target - --benches Check all bench targets + --benches Check all targets that have `bench = true` set --bench [<NAME>] Check only the specified bench target diff --git a/tests/testsuite/cargo_fix/help/stdout.term.svg b/tests/testsuite/cargo_fix/help/stdout.term.svg index 23766b7ee2b..3268041f100 100644 --- a/tests/testsuite/cargo_fix/help/stdout.term.svg +++ b/tests/testsuite/cargo_fix/help/stdout.term.svg @@ -83,11 +83,11 @@ --example [<NAME>] Fix only the specified example - --tests Fix all test targets + --tests Fix all targets that have `test = true` set --test [<NAME>] Fix only the specified test target - --benches Fix all bench targets + --benches Fix all targets that have `bench = true` set --bench [<NAME>] Fix only the specified bench target diff --git a/tests/testsuite/cargo_rustc/help/stdout.term.svg b/tests/testsuite/cargo_rustc/help/stdout.term.svg index 1bb5cd9c2a2..9d77fd23eef 100644 --- a/tests/testsuite/cargo_rustc/help/stdout.term.svg +++ b/tests/testsuite/cargo_rustc/help/stdout.term.svg @@ -77,11 +77,11 @@ --example [<NAME>] Build only the specified example - --tests Build all test targets + --tests Build all targets that have `test = true` set --test [<NAME>] Build only the specified test target - --benches Build all bench targets + --benches Build all targets that have `bench = true` set --bench [<NAME>] Build only the specified bench target diff --git a/tests/testsuite/cargo_rustdoc/help/stdout.term.svg b/tests/testsuite/cargo_rustdoc/help/stdout.term.svg index a0f55ecc7d0..3b8093128ce 100644 --- a/tests/testsuite/cargo_rustdoc/help/stdout.term.svg +++ b/tests/testsuite/cargo_rustdoc/help/stdout.term.svg @@ -75,11 +75,11 @@ --example [<NAME>] Build only the specified example - --tests Build all test targets + --tests Build all targets that have `test = true` set --test [<NAME>] Build only the specified test target - --benches Build all bench targets + --benches Build all targets that have `bench = true` set --bench [<NAME>] Build only the specified bench target diff --git a/tests/testsuite/cargo_test/help/stdout.term.svg b/tests/testsuite/cargo_test/help/stdout.term.svg index 578fb71b02c..a3bd4b09c33 100644 --- a/tests/testsuite/cargo_test/help/stdout.term.svg +++ b/tests/testsuite/cargo_test/help/stdout.term.svg @@ -85,11 +85,11 @@ --example [<NAME>] Test only the specified example - --tests Test all test targets + --tests Test all targets that have `test = true` set --test [<NAME>] Test only the specified test target - --benches Test all bench targets + --benches Test all targets that have `bench = true` set --bench [<NAME>] Test only the specified bench target