Skip to content

Commit 65c8eb3

Browse files
committed
doc man.page
1 parent d26e449 commit 65c8eb3

24 files changed

+28
-266
lines changed

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -118,16 +118,6 @@ OPTIONS
118118
accidentally expanding glob patterns before Cargo handles them, you must
119119
use single quotes or double quotes around each glob pattern.
120120

121-
--lib
122-
Benchmark the package's library.
123-
124-
--bin name...
125-
Benchmark the specified binary. This flag may be specified multiple
126-
times and supports common Unix glob patterns.
127-
128-
--bins
129-
Benchmark all binary targets.
130-
131121
--example name...
132122
Benchmark the specified example. This flag may be specified multiple
133123
times and supports common Unix glob patterns.

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,6 @@ OPTIONS
5858
accidentally expanding glob patterns before Cargo handles them, you must
5959
use single quotes or double quotes around each glob pattern.
6060

61-
--lib
62-
Build the package's library.
63-
64-
--bin name...
65-
Build the specified binary. This flag may be specified multiple
66-
times and supports common Unix glob patterns.
67-
68-
--bins
69-
Build all binary targets.
70-
7161
--example name...
7262
Build the specified example. This flag may be specified multiple
7363
times and supports common Unix glob patterns.

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,6 @@ OPTIONS
6464
accidentally expanding glob patterns before Cargo handles them, you must
6565
use single quotes or double quotes around each glob pattern.
6666

67-
--lib
68-
Check the package's library.
69-
70-
--bin name...
71-
Check the specified binary. This flag may be specified multiple
72-
times and supports common Unix glob patterns.
73-
74-
--bins
75-
Check all binary targets.
76-
7767
--example name...
7868
Check the specified example. This flag may be specified multiple
7969
times and supports common Unix glob patterns.

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ OPTIONS
8282
--bins
8383
Document all binary targets.
8484

85+
--example name...
86+
Document the specified example. This flag may be specified multiple
87+
times and supports common Unix glob patterns.
88+
89+
--examples
90+
Document all examples targets.
91+
8592
Feature Selection
8693
The feature flags allow you to control which features are enabled. When
8794
no feature options are given, the default feature is activated for every

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -137,16 +137,6 @@ OPTIONS
137137
accidentally expanding glob patterns before Cargo handles them, you must
138138
use single quotes or double quotes around each glob pattern.
139139

140-
--lib
141-
Fix the package's library.
142-
143-
--bin name...
144-
Fix the specified binary. This flag may be specified multiple times
145-
and supports common Unix glob patterns.
146-
147-
--bins
148-
Fix all binary targets.
149-
150140
--example name...
151141
Fix the specified example. This flag may be specified multiple times
152142
and supports common Unix glob patterns.

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,6 @@ OPTIONS
4949
accidentally expanding glob patterns before Cargo handles them, you must
5050
use single quotes or double quotes around each glob pattern.
5151

52-
--lib
53-
Build the package's library.
54-
55-
--bin name...
56-
Build the specified binary. This flag may be specified multiple
57-
times and supports common Unix glob patterns.
58-
59-
--bins
60-
Build all binary targets.
61-
6252
--example name...
6353
Build the specified example. This flag may be specified multiple
6454
times and supports common Unix glob patterns.

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,6 @@ OPTIONS
5858
accidentally expanding glob patterns before Cargo handles them, you must
5959
use single quotes or double quotes around each glob pattern.
6060

61-
--lib
62-
Document the package's library.
63-
64-
--bin name...
65-
Document the specified binary. This flag may be specified multiple
66-
times and supports common Unix glob patterns.
67-
68-
--bins
69-
Document all binary targets.
70-
7161
--example name...
7262
Document the specified example. This flag may be specified multiple
7363
times and supports common Unix glob patterns.

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -131,16 +131,6 @@ OPTIONS
131131
accidentally expanding glob patterns before Cargo handles them, you must
132132
use single quotes or double quotes around each glob pattern.
133133

134-
--lib
135-
Test the package's library.
136-
137-
--bin name...
138-
Test the specified binary. This flag may be specified multiple times
139-
and supports common Unix glob patterns.
140-
141-
--bins
142-
Test all binary targets.
143-
144134
--example name...
145135
Test the specified example. This flag may be specified multiple
146136
times and supports common Unix glob patterns.

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -140,18 +140,6 @@ use single quotes or double quotes around each glob pattern.
140140

141141
<dl>
142142

143-
<dt class="option-term" id="option-cargo-bench---lib"><a class="option-anchor" href="#option-cargo-bench---lib"></a><code>--lib</code></dt>
144-
<dd class="option-desc">Benchmark the package's library.</dd>
145-
146-
147-
<dt class="option-term" id="option-cargo-bench---bin"><a class="option-anchor" href="#option-cargo-bench---bin"></a><code>--bin</code> <em>name</em>...</dt>
148-
<dd class="option-desc">Benchmark the specified binary. This flag may be specified multiple times
149-
and supports common Unix glob patterns.</dd>
150-
151-
152-
<dt class="option-term" id="option-cargo-bench---bins"><a class="option-anchor" href="#option-cargo-bench---bins"></a><code>--bins</code></dt>
153-
<dd class="option-desc">Benchmark all binary targets.</dd>
154-
155143

156144

157145
<dt class="option-term" id="option-cargo-bench---example"><a class="option-anchor" href="#option-cargo-bench---example"></a><code>--example</code> <em>name</em>...</dt>

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,6 @@ use single quotes or double quotes around each glob pattern.
7676

7777
<dl>
7878

79-
<dt class="option-term" id="option-cargo-build---lib"><a class="option-anchor" href="#option-cargo-build---lib"></a><code>--lib</code></dt>
80-
<dd class="option-desc">Build the package's library.</dd>
81-
82-
83-
<dt class="option-term" id="option-cargo-build---bin"><a class="option-anchor" href="#option-cargo-build---bin"></a><code>--bin</code> <em>name</em>...</dt>
84-
<dd class="option-desc">Build the specified binary. This flag may be specified multiple times
85-
and supports common Unix glob patterns.</dd>
86-
87-
88-
<dt class="option-term" id="option-cargo-build---bins"><a class="option-anchor" href="#option-cargo-build---bins"></a><code>--bins</code></dt>
89-
<dd class="option-desc">Build all binary targets.</dd>
90-
9179

9280

9381
<dt class="option-term" id="option-cargo-build---example"><a class="option-anchor" href="#option-cargo-build---example"></a><code>--example</code> <em>name</em>...</dt>

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -81,18 +81,6 @@ use single quotes or double quotes around each glob pattern.
8181

8282
<dl>
8383

84-
<dt class="option-term" id="option-cargo-check---lib"><a class="option-anchor" href="#option-cargo-check---lib"></a><code>--lib</code></dt>
85-
<dd class="option-desc">Check the package's library.</dd>
86-
87-
88-
<dt class="option-term" id="option-cargo-check---bin"><a class="option-anchor" href="#option-cargo-check---bin"></a><code>--bin</code> <em>name</em>...</dt>
89-
<dd class="option-desc">Check the specified binary. This flag may be specified multiple times
90-
and supports common Unix glob patterns.</dd>
91-
92-
93-
<dt class="option-term" id="option-cargo-check---bins"><a class="option-anchor" href="#option-cargo-check---bins"></a><code>--bins</code></dt>
94-
<dd class="option-desc">Check all binary targets.</dd>
95-
9684

9785

9886
<dt class="option-term" id="option-cargo-check---example"><a class="option-anchor" href="#option-cargo-check---example"></a><code>--example</code> <em>name</em>...</dt>

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,16 @@ and supports common Unix glob patterns.</dd>
107107
<dd class="option-desc">Document all binary targets.</dd>
108108

109109

110+
<dt class="option-term" id="option-cargo-doc---example"><a class="option-anchor" href="#option-cargo-doc---example"></a><code>--example</code> <em>name</em>...</dt>
111+
<dd class="option-desc">Document the specified example. This flag may be specified multiple times
112+
and supports common Unix glob patterns.</dd>
113+
114+
115+
<dt class="option-term" id="option-cargo-doc---examples"><a class="option-anchor" href="#option-cargo-doc---examples"></a><code>--examples</code></dt>
116+
<dd class="option-desc">Document all examples targets.</dd>
117+
118+
119+
110120
</dl>
111121

112122
### Feature Selection

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -161,18 +161,6 @@ use single quotes or double quotes around each glob pattern.
161161

162162
<dl>
163163

164-
<dt class="option-term" id="option-cargo-fix---lib"><a class="option-anchor" href="#option-cargo-fix---lib"></a><code>--lib</code></dt>
165-
<dd class="option-desc">Fix the package's library.</dd>
166-
167-
168-
<dt class="option-term" id="option-cargo-fix---bin"><a class="option-anchor" href="#option-cargo-fix---bin"></a><code>--bin</code> <em>name</em>...</dt>
169-
<dd class="option-desc">Fix the specified binary. This flag may be specified multiple times
170-
and supports common Unix glob patterns.</dd>
171-
172-
173-
<dt class="option-term" id="option-cargo-fix---bins"><a class="option-anchor" href="#option-cargo-fix---bins"></a><code>--bins</code></dt>
174-
<dd class="option-desc">Fix all binary targets.</dd>
175-
176164

177165

178166
<dt class="option-term" id="option-cargo-fix---example"><a class="option-anchor" href="#option-cargo-fix---example"></a><code>--example</code> <em>name</em>...</dt>

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,6 @@ use single quotes or double quotes around each glob pattern.
6363

6464
<dl>
6565

66-
<dt class="option-term" id="option-cargo-rustc---lib"><a class="option-anchor" href="#option-cargo-rustc---lib"></a><code>--lib</code></dt>
67-
<dd class="option-desc">Build the package's library.</dd>
68-
69-
70-
<dt class="option-term" id="option-cargo-rustc---bin"><a class="option-anchor" href="#option-cargo-rustc---bin"></a><code>--bin</code> <em>name</em>...</dt>
71-
<dd class="option-desc">Build the specified binary. This flag may be specified multiple times
72-
and supports common Unix glob patterns.</dd>
73-
74-
75-
<dt class="option-term" id="option-cargo-rustc---bins"><a class="option-anchor" href="#option-cargo-rustc---bins"></a><code>--bins</code></dt>
76-
<dd class="option-desc">Build all binary targets.</dd>
77-
7866

7967

8068
<dt class="option-term" id="option-cargo-rustc---example"><a class="option-anchor" href="#option-cargo-rustc---example"></a><code>--example</code> <em>name</em>...</dt>

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -78,18 +78,6 @@ use single quotes or double quotes around each glob pattern.
7878

7979
<dl>
8080

81-
<dt class="option-term" id="option-cargo-rustdoc---lib"><a class="option-anchor" href="#option-cargo-rustdoc---lib"></a><code>--lib</code></dt>
82-
<dd class="option-desc">Document the package's library.</dd>
83-
84-
85-
<dt class="option-term" id="option-cargo-rustdoc---bin"><a class="option-anchor" href="#option-cargo-rustdoc---bin"></a><code>--bin</code> <em>name</em>...</dt>
86-
<dd class="option-desc">Document the specified binary. This flag may be specified multiple times
87-
and supports common Unix glob patterns.</dd>
88-
89-
90-
<dt class="option-term" id="option-cargo-rustdoc---bins"><a class="option-anchor" href="#option-cargo-rustdoc---bins"></a><code>--bins</code></dt>
91-
<dd class="option-desc">Document all binary targets.</dd>
92-
9381

9482

9583
<dt class="option-term" id="option-cargo-rustdoc---example"><a class="option-anchor" href="#option-cargo-rustdoc---example"></a><code>--example</code> <em>name</em>...</dt>

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -148,18 +148,6 @@ use single quotes or double quotes around each glob pattern.
148148

149149
<dl>
150150

151-
<dt class="option-term" id="option-cargo-test---lib"><a class="option-anchor" href="#option-cargo-test---lib"></a><code>--lib</code></dt>
152-
<dd class="option-desc">Test the package's library.</dd>
153-
154-
155-
<dt class="option-term" id="option-cargo-test---bin"><a class="option-anchor" href="#option-cargo-test---bin"></a><code>--bin</code> <em>name</em>...</dt>
156-
<dd class="option-desc">Test the specified binary. This flag may be specified multiple times
157-
and supports common Unix glob patterns.</dd>
158-
159-
160-
<dt class="option-term" id="option-cargo-test---bins"><a class="option-anchor" href="#option-cargo-test---bins"></a><code>--bins</code></dt>
161-
<dd class="option-desc">Test all binary targets.</dd>
162-
163151

164152

165153
<dt class="option-term" id="option-cargo-test---example"><a class="option-anchor" href="#option-cargo-test---example"></a><code>--example</code> <em>name</em>...</dt>

src/etc/man/cargo-bench.1

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -145,22 +145,6 @@ support common Unix glob patterns like \fB*\fR, \fB?\fR and \fB[]\fR\&. However,
145145
shell accidentally expanding glob patterns before Cargo handles them, you must
146146
use single quotes or double quotes around each glob pattern.
147147
.sp
148-
\fB\-\-lib\fR
149-
.RS 4
150-
Benchmark the package's library.
151-
.RE
152-
.sp
153-
\fB\-\-bin\fR \fIname\fR\&...
154-
.RS 4
155-
Benchmark the specified binary. This flag may be specified multiple times
156-
and supports common Unix glob patterns.
157-
.RE
158-
.sp
159-
\fB\-\-bins\fR
160-
.RS 4
161-
Benchmark all binary targets.
162-
.RE
163-
.sp
164148
\fB\-\-example\fR \fIname\fR\&...
165149
.RS 4
166150
Benchmark the specified example. This flag may be specified multiple times

src/etc/man/cargo-build.1

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -63,22 +63,6 @@ support common Unix glob patterns like \fB*\fR, \fB?\fR and \fB[]\fR\&. However,
6363
shell accidentally expanding glob patterns before Cargo handles them, you must
6464
use single quotes or double quotes around each glob pattern.
6565
.sp
66-
\fB\-\-lib\fR
67-
.RS 4
68-
Build the package's library.
69-
.RE
70-
.sp
71-
\fB\-\-bin\fR \fIname\fR\&...
72-
.RS 4
73-
Build the specified binary. This flag may be specified multiple times
74-
and supports common Unix glob patterns.
75-
.RE
76-
.sp
77-
\fB\-\-bins\fR
78-
.RS 4
79-
Build all binary targets.
80-
.RE
81-
.sp
8266
\fB\-\-example\fR \fIname\fR\&...
8367
.RS 4
8468
Build the specified example. This flag may be specified multiple times

src/etc/man/cargo-check.1

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -68,22 +68,6 @@ support common Unix glob patterns like \fB*\fR, \fB?\fR and \fB[]\fR\&. However,
6868
shell accidentally expanding glob patterns before Cargo handles them, you must
6969
use single quotes or double quotes around each glob pattern.
7070
.sp
71-
\fB\-\-lib\fR
72-
.RS 4
73-
Check the package's library.
74-
.RE
75-
.sp
76-
\fB\-\-bin\fR \fIname\fR\&...
77-
.RS 4
78-
Check the specified binary. This flag may be specified multiple times
79-
and supports common Unix glob patterns.
80-
.RE
81-
.sp
82-
\fB\-\-bins\fR
83-
.RS 4
84-
Check all binary targets.
85-
.RE
86-
.sp
8771
\fB\-\-example\fR \fIname\fR\&...
8872
.RS 4
8973
Check the specified example. This flag may be specified multiple times

src/etc/man/cargo-doc.1

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,17 @@ and supports common Unix glob patterns.
9595
.RS 4
9696
Document all binary targets.
9797
.RE
98+
.sp
99+
\fB\-\-example\fR \fIname\fR\&...
100+
.RS 4
101+
Document the specified example. This flag may be specified multiple times
102+
and supports common Unix glob patterns.
103+
.RE
104+
.sp
105+
\fB\-\-examples\fR
106+
.RS 4
107+
Document all examples targets.
108+
.RE
98109
.SS "Feature Selection"
99110
The feature flags allow you to control which features are enabled. When no
100111
feature options are given, the \fBdefault\fR feature is activated for every

src/etc/man/cargo-fix.1

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -163,22 +163,6 @@ support common Unix glob patterns like \fB*\fR, \fB?\fR and \fB[]\fR\&. However,
163163
shell accidentally expanding glob patterns before Cargo handles them, you must
164164
use single quotes or double quotes around each glob pattern.
165165
.sp
166-
\fB\-\-lib\fR
167-
.RS 4
168-
Fix the package's library.
169-
.RE
170-
.sp
171-
\fB\-\-bin\fR \fIname\fR\&...
172-
.RS 4
173-
Fix the specified binary. This flag may be specified multiple times
174-
and supports common Unix glob patterns.
175-
.RE
176-
.sp
177-
\fB\-\-bins\fR
178-
.RS 4
179-
Fix all binary targets.
180-
.RE
181-
.sp
182166
\fB\-\-example\fR \fIname\fR\&...
183167
.RS 4
184168
Fix the specified example. This flag may be specified multiple times

0 commit comments

Comments
 (0)