Skip to content

Commit b1754b2

Browse files
committed
Regenerate derived doc formats.
1 parent bed7dfb commit b1754b2

File tree

105 files changed

+898
-853
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+898
-853
lines changed

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

+11-10
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
CARGO-ADD(1)
22

33
NAME
4-
cargo-add - Add dependencies to a Cargo.toml manifest file
4+
cargo-add Add dependencies to a Cargo.toml manifest file
55

66
SYNOPSIS
7-
cargo add [options] crate...
7+
cargo add [options] crate
88
cargo add [options] --path path
9-
cargo add [options] --git url [crate...]
9+
cargo add [options] --git url [crate]
1010

1111
DESCRIPTION
1212
This command can add or modify dependencies.
1313

1414
The source for the dependency can be specified with:
1515

1616
o crate@version: Fetch from a registry with a version constraint of
17-
"version"
17+
version
1818

1919
o --path path: Fetch from the specified path
2020

@@ -34,7 +34,7 @@ DESCRIPTION
3434

3535
Upon successful invocation, the enabled (+) and disabled (-) features
3636
<https://doc.rust-lang.org/cargo/reference/features.md> of the specified
37-
dependency will be listed in the command's output.
37+
dependency will be listed in the commands output.
3838

3939
OPTIONS
4040
Source options
@@ -80,7 +80,7 @@ OPTIONS
8080

8181
Dependency options
8282
--dry-run
83-
Don't actually write the manifest
83+
Dont actually write the manifest
8484

8585
--rename name
8686
Rename
@@ -112,10 +112,11 @@ OPTIONS
112112

113113
Display Options
114114
-v, --verbose
115-
Use verbose output. May be specified twice for "very verbose" output
116-
which includes extra output such as dependency warnings and build
117-
script output. May also be specified with the term.verbose config
118-
value <https://doc.rust-lang.org/cargo/reference/config.html>.
115+
Use verbose output. May be specified twice for “very verbose”
116+
output which includes extra output such as dependency warnings and
117+
build script output. May also be specified with the term.verbose
118+
config value
119+
<https://doc.rust-lang.org/cargo/reference/config.html>.
119120

120121
-q, --quiet
121122
Do not print cargo log messages. May also be specified with the

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

+25-23
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CARGO-BENCH(1)
22

33
NAME
4-
cargo-bench - Execute benchmarks of a package
4+
cargo-bench Execute benchmarks of a package
55

66
SYNOPSIS
77
cargo bench [options] [benchname] [-- bench-options]
@@ -11,11 +11,11 @@ DESCRIPTION
1111

1212
The benchmark filtering argument benchname and all the arguments
1313
following the two dashes (--) are passed to the benchmark binaries and
14-
thus to libtest (rustc's built in unit-test and micro-benchmarking
14+
thus to libtest (rustcs built in unit-test and micro-benchmarking
1515
framework). If you are passing arguments to both Cargo and the binary,
1616
the ones after -- go to the binary, the ones before go to Cargo. For
17-
details about libtest's arguments see the output of cargo bench --
18-
--help and check out the rustc book's chapter on how tests work at
17+
details about libtests arguments see the output of cargo bench --
18+
--help and check out the rustc books chapter on how tests work at
1919
<https://doc.rust-lang.org/rustc/tests/index.html>.
2020

2121
As an example, this will run only the benchmark named foo (and skip
@@ -52,7 +52,7 @@ DESCRIPTION
5252
OPTIONS
5353
Benchmark Options
5454
--no-run
55-
Compile, but don't run benchmarks.
55+
Compile, but dont run benchmarks.
5656

5757
--no-fail-fast
5858
Run all benchmarks regardless of failure. Without this flag, Cargo
@@ -74,7 +74,7 @@ OPTIONS
7474
passing --workspace), and a non-virtual workspace will include only the
7575
root crate itself.
7676

77-
-p spec..., --package spec...
77+
-p spec, --package spec
7878
Benchmark only the specified packages. See cargo-pkgid(1) for the
7979
SPEC format. This flag may be specified multiple times and supports
8080
common Unix glob patterns like *, ? and []. However, to avoid your
@@ -88,7 +88,7 @@ OPTIONS
8888
--all
8989
Deprecated alias for --workspace.
9090

91-
--exclude SPEC...
91+
--exclude SPEC
9292
Exclude the specified packages. Must be used in conjunction with the
9393
--workspace flag. This flag may be specified multiple times and
9494
supports common Unix glob patterns like *, ? and []. However, to
@@ -136,23 +136,23 @@ OPTIONS
136136
use single quotes or double quotes around each glob pattern.
137137

138138
--lib
139-
Benchmark the package's library.
139+
Benchmark the packages library.
140140

141-
--bin name...
141+
--bin name
142142
Benchmark the specified binary. This flag may be specified multiple
143143
times and supports common Unix glob patterns.
144144

145145
--bins
146146
Benchmark all binary targets.
147147

148-
--example name...
148+
--example name
149149
Benchmark the specified example. This flag may be specified multiple
150150
times and supports common Unix glob patterns.
151151

152152
--examples
153153
Benchmark all example targets.
154154

155-
--test name...
155+
--test name
156156
Benchmark the specified integration test. This flag may be specified
157157
multiple times and supports common Unix glob patterns.
158158

@@ -165,7 +165,7 @@ OPTIONS
165165
integration tests, etc.). Targets may be enabled or disabled by
166166
setting the test flag in the manifest settings for the target.
167167

168-
--bench name...
168+
--bench name
169169
Benchmark the specified benchmark. This flag may be specified
170170
multiple times and supports common Unix glob patterns.
171171

@@ -227,7 +227,7 @@ OPTIONS
227227

228228
--ignore-rust-version
229229
Benchmark the target even if the selected Rust compiler is older
230-
than the required Rust version as configured in the project's
230+
than the required Rust version as configured in the projects
231231
rust-version field.
232232

233233
--timings=fmts
@@ -265,10 +265,11 @@ OPTIONS
265265
cargo bench -- --nocapture
266266

267267
-v, --verbose
268-
Use verbose output. May be specified twice for "very verbose" output
269-
which includes extra output such as dependency warnings and build
270-
script output. May also be specified with the term.verbose config
271-
value <https://doc.rust-lang.org/cargo/reference/config.html>.
268+
Use verbose output. May be specified twice for “very verbose”
269+
output which includes extra output such as dependency warnings and
270+
build script output. May also be specified with the term.verbose
271+
config value
272+
<https://doc.rust-lang.org/cargo/reference/config.html>.
272273

273274
-q, --quiet
274275
Do not print cargo log messages. May also be specified with the
@@ -303,18 +304,19 @@ OPTIONS
303304
for more details. Conflicts with human and short.
304305

305306
o json-diagnostic-short: Ensure the rendered field of JSON messages
306-
contains the "short" rendering from rustc. Cannot be used with
307-
human or short.
307+
contains the short rendering from rustc. Cannot be used
308+
with human or short.
308309

309310
o json-diagnostic-rendered-ansi: Ensure the rendered field of JSON
310311
messages contains embedded ANSI color codes for respecting
311-
rustc's default color scheme. Cannot be used with human or short.
312+
rustc’s default color scheme. Cannot be used with human or
313+
short.
312314

313315
o json-render-diagnostics: Instruct Cargo to not include rustc
314316
diagnostics in JSON messages printed, but instead Cargo itself
315-
should render the JSON diagnostics coming from rustc. Cargo's own
316-
JSON diagnostics and others coming from rustc are still emitted.
317-
Cannot be used with human or short.
317+
should render the JSON diagnostics coming from rustc. Cargo’s
318+
own JSON diagnostics and others coming from rustc are still
319+
emitted. Cannot be used with human or short.
318320

319321
Manifest Options
320322
--manifest-path path

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

+21-19
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CARGO-BUILD(1)
22

33
NAME
4-
cargo-build - Compile the current package
4+
cargo-build Compile the current package
55

66
SYNOPSIS
77
cargo build [options]
@@ -24,7 +24,7 @@ OPTIONS
2424
passing --workspace), and a non-virtual workspace will include only the
2525
root crate itself.
2626

27-
-p spec..., --package spec...
27+
-p spec, --package spec
2828
Build only the specified packages. See cargo-pkgid(1) for the SPEC
2929
format. This flag may be specified multiple times and supports
3030
common Unix glob patterns like *, ? and []. However, to avoid your
@@ -38,7 +38,7 @@ OPTIONS
3838
--all
3939
Deprecated alias for --workspace.
4040

41-
--exclude SPEC...
41+
--exclude SPEC
4242
Exclude the specified packages. Must be used in conjunction with the
4343
--workspace flag. This flag may be specified multiple times and
4444
supports common Unix glob patterns like *, ? and []. However, to
@@ -68,23 +68,23 @@ OPTIONS
6868
use single quotes or double quotes around each glob pattern.
6969

7070
--lib
71-
Build the package's library.
71+
Build the packages library.
7272

73-
--bin name...
73+
--bin name
7474
Build the specified binary. This flag may be specified multiple
7575
times and supports common Unix glob patterns.
7676

7777
--bins
7878
Build all binary targets.
7979

80-
--example name...
80+
--example name
8181
Build the specified example. This flag may be specified multiple
8282
times and supports common Unix glob patterns.
8383

8484
--examples
8585
Build all example targets.
8686

87-
--test name...
87+
--test name
8888
Build the specified integration test. This flag may be specified
8989
multiple times and supports common Unix glob patterns.
9090

@@ -97,7 +97,7 @@ OPTIONS
9797
integration tests, etc.). Targets may be enabled or disabled by
9898
setting the test flag in the manifest settings for the target.
9999

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

@@ -163,7 +163,7 @@ OPTIONS
163163

164164
--ignore-rust-version
165165
Build the target even if the selected Rust compiler is older than
166-
the required Rust version as configured in the project's
166+
the required Rust version as configured in the projects
167167
rust-version field.
168168

169169
--timings=fmts
@@ -204,10 +204,11 @@ OPTIONS
204204

205205
Display Options
206206
-v, --verbose
207-
Use verbose output. May be specified twice for "very verbose" output
208-
which includes extra output such as dependency warnings and build
209-
script output. May also be specified with the term.verbose config
210-
value <https://doc.rust-lang.org/cargo/reference/config.html>.
207+
Use verbose output. May be specified twice for “very verbose”
208+
output which includes extra output such as dependency warnings and
209+
build script output. May also be specified with the term.verbose
210+
config value
211+
<https://doc.rust-lang.org/cargo/reference/config.html>.
211212

212213
-q, --quiet
213214
Do not print cargo log messages. May also be specified with the
@@ -242,18 +243,19 @@ OPTIONS
242243
for more details. Conflicts with human and short.
243244

244245
o json-diagnostic-short: Ensure the rendered field of JSON messages
245-
contains the "short" rendering from rustc. Cannot be used with
246-
human or short.
246+
contains the short rendering from rustc. Cannot be used
247+
with human or short.
247248

248249
o json-diagnostic-rendered-ansi: Ensure the rendered field of JSON
249250
messages contains embedded ANSI color codes for respecting
250-
rustc's default color scheme. Cannot be used with human or short.
251+
rustc’s default color scheme. Cannot be used with human or
252+
short.
251253

252254
o json-render-diagnostics: Instruct Cargo to not include rustc
253255
diagnostics in JSON messages printed, but instead Cargo itself
254-
should render the JSON diagnostics coming from rustc. Cargo's own
255-
JSON diagnostics and others coming from rustc are still emitted.
256-
Cannot be used with human or short.
256+
should render the JSON diagnostics coming from rustc. Cargo’s
257+
own JSON diagnostics and others coming from rustc are still
258+
emitted. Cannot be used with human or short.
257259

258260
--build-plan
259261
Outputs a series of JSON messages to stdout that indicate the

0 commit comments

Comments
 (0)