Skip to content

Commit 937ddf7

Browse files
committed
don't talk about benchmark mode / test mode in help
1 parent 2ca9dbc commit 937ddf7

24 files changed

+46
-46
lines changed

src/bin/cargo/commands/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pub fn cli() -> Command {
4343
"Test only the specified test target",
4444
"Test all targets that have `test = true` set",
4545
"Test only the specified bench target",
46-
"Test all targets in benchmark mode that have `bench = true` set",
46+
"Test all targets that have `bench = true` set",
4747
"Test all targets (does not include doctests)",
4848
)
4949
.arg(

src/doc/man/generated_txt/cargo-bench.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ OPTIONS
172172
multiple times and supports common Unix glob patterns.
173173

174174
--tests
175-
Benchmark all targets in test mode that have the test = true
175+
Benchmark all targets that have the test = true
176176
manifest flag set. By default this includes the library and binaries
177177
built as unittests, and integration tests. Be aware that this will
178178
also build any required dependencies, so the lib target may be built
@@ -185,7 +185,7 @@ OPTIONS
185185
multiple times and supports common Unix glob patterns.
186186

187187
--benches
188-
Benchmark all targets in benchmark mode that have the bench = true
188+
Benchmark all targets that have the bench = true
189189
manifest flag set. By default this includes the library and binaries
190190
built as benchmarks, and bench targets. Be aware that this will also
191191
build any required dependencies, so the lib target may be built

src/doc/man/generated_txt/cargo-build.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ OPTIONS
8989
multiple times and supports common Unix glob patterns.
9090

9191
--tests
92-
Build all targets in test mode that have the test = true manifest
92+
Build all targets that have the test = true manifest
9393
flag set. By default this includes the library and binaries built as
9494
unittests, and integration tests. Be aware that this will also build
9595
any required dependencies, so the lib target may be built twice
@@ -102,7 +102,7 @@ OPTIONS
102102
times and supports common Unix glob patterns.
103103

104104
--benches
105-
Build all targets in benchmark mode that have the bench = true
105+
Build all targets that have the bench = true
106106
manifest flag set. By default this includes the library and binaries
107107
built as benchmarks, and bench targets. Be aware that this will also
108108
build any required dependencies, so the lib target may be built

src/doc/man/generated_txt/cargo-check.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ OPTIONS
8686
multiple times and supports common Unix glob patterns.
8787

8888
--tests
89-
Check all targets in test mode that have the test = true manifest
89+
Check all targets that have the test = true manifest
9090
flag set. By default this includes the library and binaries built as
9191
unittests, and integration tests. Be aware that this will also build
9292
any required dependencies, so the lib target may be built twice
@@ -99,7 +99,7 @@ OPTIONS
9999
times and supports common Unix glob patterns.
100100

101101
--benches
102-
Check all targets in benchmark mode that have the bench = true
102+
Check all targets that have the bench = true
103103
manifest flag set. By default this includes the library and binaries
104104
built as benchmarks, and bench targets. Be aware that this will also
105105
build any required dependencies, so the lib target may be built

src/doc/man/generated_txt/cargo-fix.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ OPTIONS
159159
multiple times and supports common Unix glob patterns.
160160

161161
--tests
162-
Fix all targets in test mode that have the test = true manifest flag
162+
Fix all targets that have the test = true manifest flag
163163
set. By default this includes the library and binaries built as
164164
unittests, and integration tests. Be aware that this will also build
165165
any required dependencies, so the lib target may be built twice
@@ -172,7 +172,7 @@ OPTIONS
172172
times and supports common Unix glob patterns.
173173

174174
--benches
175-
Fix all targets in benchmark mode that have the bench = true
175+
Fix all targets that have the bench = true
176176
manifest flag set. By default this includes the library and binaries
177177
built as benchmarks, and bench targets. Be aware that this will also
178178
build any required dependencies, so the lib target may be built

src/doc/man/generated_txt/cargo-rustc.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ OPTIONS
8080
multiple times and supports common Unix glob patterns.
8181

8282
--tests
83-
Build all targets in test mode that have the test = true manifest
83+
Build all targets that have the test = true manifest
8484
flag set. By default this includes the library and binaries built as
8585
unittests, and integration tests. Be aware that this will also build
8686
any required dependencies, so the lib target may be built twice
@@ -93,7 +93,7 @@ OPTIONS
9393
times and supports common Unix glob patterns.
9494

9595
--benches
96-
Build all targets in benchmark mode that have the bench = true
96+
Build all targets that have the bench = true
9797
manifest flag set. By default this includes the library and binaries
9898
built as benchmarks, and bench targets. Be aware that this will also
9999
build any required dependencies, so the lib target may be built

src/doc/man/generated_txt/cargo-rustdoc.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ OPTIONS
8080
multiple times and supports common Unix glob patterns.
8181

8282
--tests
83-
Document all targets in test mode that have the test = true manifest
83+
Document all targets that have the test = true manifest
8484
flag set. By default this includes the library and binaries built as
8585
unittests, and integration tests. Be aware that this will also build
8686
any required dependencies, so the lib target may be built twice
@@ -93,7 +93,7 @@ OPTIONS
9393
multiple times and supports common Unix glob patterns.
9494

9595
--benches
96-
Document all targets in benchmark mode that have the bench = true
96+
Document all targets that have the bench = true
9797
manifest flag set. By default this includes the library and binaries
9898
built as benchmarks, and bench targets. Be aware that this will also
9999
build any required dependencies, so the lib target may be built

src/doc/man/generated_txt/cargo-test.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ OPTIONS
190190
multiple times and supports common Unix glob patterns.
191191

192192
--tests
193-
Test all targets in test mode that have the test = true manifest
193+
Test all targets that have the test = true manifest
194194
flag set. By default this includes the library and binaries built as
195195
unittests, and integration tests. Be aware that this will also build
196196
any required dependencies, so the lib target may be built twice
@@ -203,7 +203,7 @@ OPTIONS
203203
times and supports common Unix glob patterns.
204204

205205
--benches
206-
Test all targets in benchmark mode that have the bench = true
206+
Test all targets that have the bench = true
207207
manifest flag set. By default this includes the library and binaries
208208
built as benchmarks, and bench targets. Be aware that this will also
209209
build any required dependencies, so the lib target may be built

src/doc/man/includes/options-targets.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ multiple times and supports common Unix glob patterns.
2525
{{/option}}
2626

2727
{{#option "`--tests`" }}
28-
{{actionverb}} all targets in test mode that have the `test = true` manifest
28+
{{actionverb}} all targets that have the `test = true` manifest
2929
flag set. By default this includes the library and binaries built as
3030
unittests, and integration tests. Be aware that this will also build any
3131
required dependencies, so the lib target may be built twice (once as a
@@ -40,7 +40,7 @@ times and supports common Unix glob patterns.
4040
{{/option}}
4141

4242
{{#option "`--benches`" }}
43-
{{actionverb}} all targets in benchmark mode that have the `bench = true`
43+
{{actionverb}} all targets that have the `bench = true`
4444
manifest flag set. By default this includes the library and binaries built
4545
as benchmarks, and bench targets. Be aware that this will also build any
4646
required dependencies, so the lib target may be built twice (once as a

src/doc/src/commands/cargo-bench.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ multiple times and supports common Unix glob patterns.</dd>
193193

194194

195195
<dt class="option-term" id="option-cargo-bench---tests"><a class="option-anchor" href="#option-cargo-bench---tests"></a><code>--tests</code></dt>
196-
<dd class="option-desc">Benchmark all targets in test mode that have the <code>test = true</code> manifest
196+
<dd class="option-desc">Benchmark all targets that have the <code>test = true</code> manifest
197197
flag set. By default this includes the library and binaries built as
198198
unittests, and integration tests. Be aware that this will also build any
199199
required dependencies, so the lib target may be built twice (once as a
@@ -208,7 +208,7 @@ times and supports common Unix glob patterns.</dd>
208208

209209

210210
<dt class="option-term" id="option-cargo-bench---benches"><a class="option-anchor" href="#option-cargo-bench---benches"></a><code>--benches</code></dt>
211-
<dd class="option-desc">Benchmark all targets in benchmark mode that have the <code>bench = true</code>
211+
<dd class="option-desc">Benchmark all targets that have the <code>bench = true</code>
212212
manifest flag set. By default this includes the library and binaries built
213213
as benchmarks, and bench targets. Be aware that this will also build any
214214
required dependencies, so the lib target may be built twice (once as a

0 commit comments

Comments
 (0)