Skip to content

Commit 2783a0f

Browse files
committed
don't talk about benchmark mode / test mode in help
1 parent 2791c12 commit 2783a0f

22 files changed

+122
-122
lines changed

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,11 @@ 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
176-
manifest flag set. By default this includes the library and binaries
177-
built as unittests, and integration tests. Be aware that this will
178-
also build any required dependencies, so the lib target may be built
179-
twice (once as a unittest, and once as a dependency for binaries,
175+
Benchmark all targets that have the test = true manifest flag set.
176+
By default this includes the library and binaries built as
177+
unittests, and integration tests. Be aware that this will also build
178+
any required dependencies, so the lib target may be built twice
179+
(once as a unittest, and once as a dependency for binaries,
180180
integration tests, etc.). Targets may be enabled or disabled by
181181
setting the test flag in the manifest settings for the target.
182182

@@ -185,11 +185,11 @@ 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
189-
manifest flag set. By default this includes the library and binaries
190-
built as benchmarks, and bench targets. Be aware that this will also
191-
build any required dependencies, so the lib target may be built
192-
twice (once as a benchmark, and once as a dependency for binaries,
188+
Benchmark all targets that have the bench = true manifest flag set.
189+
By default this includes the library and binaries built as
190+
benchmarks, and bench targets. Be aware that this will also build
191+
any required dependencies, so the lib target may be built twice
192+
(once as a benchmark, and once as a dependency for binaries,
193193
benchmarks, etc.). Targets may be enabled or disabled by setting the
194194
bench flag in the manifest settings for the target.
195195

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -89,26 +89,26 @@ 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
93-
flag set. By default this includes the library and binaries built as
94-
unittests, and integration tests. Be aware that this will also build
95-
any required dependencies, so the lib target may be built twice
96-
(once as a unittest, and once as a dependency for binaries,
97-
integration tests, etc.). Targets may be enabled or disabled by
98-
setting the test flag in the manifest settings for the target.
92+
Build all targets that have the test = true manifest flag set. By
93+
default this includes the library and binaries built as unittests,
94+
and integration tests. Be aware that this will also build any
95+
required dependencies, so the lib target may be built twice (once as
96+
a unittest, and once as a dependency for binaries, integration
97+
tests, etc.). Targets may be enabled or disabled by setting the test
98+
flag in the manifest settings for the target.
9999

100100
--bench name…
101101
Build the specified benchmark. This flag may be specified multiple
102102
times and supports common Unix glob patterns.
103103

104104
--benches
105-
Build all targets in benchmark mode that have the bench = true
106-
manifest flag set. By default this includes the library and binaries
107-
built as benchmarks, and bench targets. Be aware that this will also
108-
build any required dependencies, so the lib target may be built
109-
twice (once as a benchmark, and once as a dependency for binaries,
110-
benchmarks, etc.). Targets may be enabled or disabled by setting the
111-
bench flag in the manifest settings for the target.
105+
Build all targets that have the bench = true manifest flag set. By
106+
default this includes the library and binaries built as benchmarks,
107+
and bench targets. Be aware that this will also build any required
108+
dependencies, so the lib target may be built twice (once as a
109+
benchmark, and once as a dependency for binaries, benchmarks, etc.).
110+
Targets may be enabled or disabled by setting the bench flag in the
111+
manifest settings for the target.
112112

113113
--all-targets
114114
Build all targets. This is equivalent to specifying --lib --bins

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -86,26 +86,26 @@ 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
90-
flag set. By default this includes the library and binaries built as
91-
unittests, and integration tests. Be aware that this will also build
92-
any required dependencies, so the lib target may be built twice
93-
(once as a unittest, and once as a dependency for binaries,
94-
integration tests, etc.). Targets may be enabled or disabled by
95-
setting the test flag in the manifest settings for the target.
89+
Check all targets that have the test = true manifest flag set. By
90+
default this includes the library and binaries built as unittests,
91+
and integration tests. Be aware that this will also build any
92+
required dependencies, so the lib target may be built twice (once as
93+
a unittest, and once as a dependency for binaries, integration
94+
tests, etc.). Targets may be enabled or disabled by setting the test
95+
flag in the manifest settings for the target.
9696

9797
--bench name…
9898
Check the specified benchmark. This flag may be specified multiple
9999
times and supports common Unix glob patterns.
100100

101101
--benches
102-
Check all targets in benchmark mode that have the bench = true
103-
manifest flag set. By default this includes the library and binaries
104-
built as benchmarks, and bench targets. Be aware that this will also
105-
build any required dependencies, so the lib target may be built
106-
twice (once as a benchmark, and once as a dependency for binaries,
107-
benchmarks, etc.). Targets may be enabled or disabled by setting the
108-
bench flag in the manifest settings for the target.
102+
Check all targets that have the bench = true manifest flag set. By
103+
default this includes the library and binaries built as benchmarks,
104+
and bench targets. Be aware that this will also build any required
105+
dependencies, so the lib target may be built twice (once as a
106+
benchmark, and once as a dependency for binaries, benchmarks, etc.).
107+
Targets may be enabled or disabled by setting the bench flag in the
108+
manifest settings for the target.
109109

110110
--all-targets
111111
Check all targets. This is equivalent to specifying --lib --bins

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -159,26 +159,26 @@ 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
163-
set. By default this includes the library and binaries built as
164-
unittests, and integration tests. Be aware that this will also build
165-
any required dependencies, so the lib target may be built twice
166-
(once as a unittest, and once as a dependency for binaries,
167-
integration tests, etc.). Targets may be enabled or disabled by
168-
setting the test flag in the manifest settings for the target.
162+
Fix all targets that have the test = true manifest flag set. By
163+
default this includes the library and binaries built as unittests,
164+
and integration tests. Be aware that this will also build any
165+
required dependencies, so the lib target may be built twice (once as
166+
a unittest, and once as a dependency for binaries, integration
167+
tests, etc.). Targets may be enabled or disabled by setting the test
168+
flag in the manifest settings for the target.
169169

170170
--bench name…
171171
Fix the specified benchmark. This flag may be specified multiple
172172
times and supports common Unix glob patterns.
173173

174174
--benches
175-
Fix all targets in benchmark mode that have the bench = true
176-
manifest flag set. By default this includes the library and binaries
177-
built as benchmarks, and bench targets. Be aware that this will also
178-
build any required dependencies, so the lib target may be built
179-
twice (once as a benchmark, and once as a dependency for binaries,
180-
benchmarks, etc.). Targets may be enabled or disabled by setting the
181-
bench flag in the manifest settings for the target.
175+
Fix all targets that have the bench = true manifest flag set. By
176+
default this includes the library and binaries built as benchmarks,
177+
and bench targets. Be aware that this will also build any required
178+
dependencies, so the lib target may be built twice (once as a
179+
benchmark, and once as a dependency for binaries, benchmarks, etc.).
180+
Targets may be enabled or disabled by setting the bench flag in the
181+
manifest settings for the target.
182182

183183
--all-targets
184184
Fix all targets. This is equivalent to specifying --lib --bins

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -80,26 +80,26 @@ 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
84-
flag set. By default this includes the library and binaries built as
85-
unittests, and integration tests. Be aware that this will also build
86-
any required dependencies, so the lib target may be built twice
87-
(once as a unittest, and once as a dependency for binaries,
88-
integration tests, etc.). Targets may be enabled or disabled by
89-
setting the test flag in the manifest settings for the target.
83+
Build all targets that have the test = true manifest flag set. By
84+
default this includes the library and binaries built as unittests,
85+
and integration tests. Be aware that this will also build any
86+
required dependencies, so the lib target may be built twice (once as
87+
a unittest, and once as a dependency for binaries, integration
88+
tests, etc.). Targets may be enabled or disabled by setting the test
89+
flag in the manifest settings for the target.
9090

9191
--bench name…
9292
Build the specified benchmark. This flag may be specified multiple
9393
times and supports common Unix glob patterns.
9494

9595
--benches
96-
Build all targets in benchmark mode that have the bench = true
97-
manifest flag set. By default this includes the library and binaries
98-
built as benchmarks, and bench targets. Be aware that this will also
99-
build any required dependencies, so the lib target may be built
100-
twice (once as a benchmark, and once as a dependency for binaries,
101-
benchmarks, etc.). Targets may be enabled or disabled by setting the
102-
bench flag in the manifest settings for the target.
96+
Build all targets that have the bench = true manifest flag set. By
97+
default this includes the library and binaries built as benchmarks,
98+
and bench targets. Be aware that this will also build any required
99+
dependencies, so the lib target may be built twice (once as a
100+
benchmark, and once as a dependency for binaries, benchmarks, etc.).
101+
Targets may be enabled or disabled by setting the bench flag in the
102+
manifest settings for the target.
103103

104104
--all-targets
105105
Build all targets. This is equivalent to specifying --lib --bins

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -80,24 +80,24 @@ 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
84-
flag set. By default this includes the library and binaries built as
85-
unittests, and integration tests. Be aware that this will also build
86-
any required dependencies, so the lib target may be built twice
87-
(once as a unittest, and once as a dependency for binaries,
88-
integration tests, etc.). Targets may be enabled or disabled by
89-
setting the test flag in the manifest settings for the target.
83+
Document all targets that have the test = true manifest flag set. By
84+
default this includes the library and binaries built as unittests,
85+
and integration tests. Be aware that this will also build any
86+
required dependencies, so the lib target may be built twice (once as
87+
a unittest, and once as a dependency for binaries, integration
88+
tests, etc.). Targets may be enabled or disabled by setting the test
89+
flag in the manifest settings for the target.
9090

9191
--bench name…
9292
Document the specified benchmark. This flag may be specified
9393
multiple times and supports common Unix glob patterns.
9494

9595
--benches
96-
Document all targets in benchmark mode that have the bench = true
97-
manifest flag set. By default this includes the library and binaries
98-
built as benchmarks, and bench targets. Be aware that this will also
99-
build any required dependencies, so the lib target may be built
100-
twice (once as a benchmark, and once as a dependency for binaries,
96+
Document all targets that have the bench = true manifest flag set.
97+
By default this includes the library and binaries built as
98+
benchmarks, and bench targets. Be aware that this will also build
99+
any required dependencies, so the lib target may be built twice
100+
(once as a benchmark, and once as a dependency for binaries,
101101
benchmarks, etc.). Targets may be enabled or disabled by setting the
102102
bench flag in the manifest settings for the target.
103103

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -190,26 +190,26 @@ 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
194-
flag set. By default this includes the library and binaries built as
195-
unittests, and integration tests. Be aware that this will also build
196-
any required dependencies, so the lib target may be built twice
197-
(once as a unittest, and once as a dependency for binaries,
198-
integration tests, etc.). Targets may be enabled or disabled by
199-
setting the test flag in the manifest settings for the target.
193+
Test all targets that have the test = true manifest flag set. By
194+
default this includes the library and binaries built as unittests,
195+
and integration tests. Be aware that this will also build any
196+
required dependencies, so the lib target may be built twice (once as
197+
a unittest, and once as a dependency for binaries, integration
198+
tests, etc.). Targets may be enabled or disabled by setting the test
199+
flag in the manifest settings for the target.
200200

201201
--bench name…
202202
Test the specified benchmark. This flag may be specified multiple
203203
times and supports common Unix glob patterns.
204204

205205
--benches
206-
Test all targets in benchmark mode that have the bench = true
207-
manifest flag set. By default this includes the library and binaries
208-
built as benchmarks, and bench targets. Be aware that this will also
209-
build any required dependencies, so the lib target may be built
210-
twice (once as a benchmark, and once as a dependency for binaries,
211-
benchmarks, etc.). Targets may be enabled or disabled by setting the
212-
bench flag in the manifest settings for the target.
206+
Test all targets that have the bench = true manifest flag set. By
207+
default this includes the library and binaries built as benchmarks,
208+
and bench targets. Be aware that this will also build any required
209+
dependencies, so the lib target may be built twice (once as a
210+
benchmark, and once as a dependency for binaries, benchmarks, etc.).
211+
Targets may be enabled or disabled by setting the bench flag in the
212+
manifest settings for the target.
213213

214214
--all-targets
215215
Test all targets. This is equivalent to specifying --lib --bins

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

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

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

109109

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

124124

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

0 commit comments

Comments
 (0)