Skip to content

Commit 92c35f2

Browse files
committed
cancel examples
1 parent f2cfd67 commit 92c35f2

File tree

9 files changed

+113
-2
lines changed

9 files changed

+113
-2
lines changed

src/bin/cargo/commands/doc.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ pub fn cli() -> App {
1212
"open",
1313
"Opens the docs in a browser after the operation",
1414
))
15-
.arg(opt("examples", "Document all examples"))
1615
.arg_package_spec(
1716
"Package to document",
1817
"Document all packages in the workspace",

src/etc/man/cargo-bench.1

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,22 @@ 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
148164
\fB\-\-example\fR \fIname\fR\&...
149165
.RS 4
150166
Benchmark the specified example. This flag may be specified multiple times

src/etc/man/cargo-build.1

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,22 @@ 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
6682
\fB\-\-example\fR \fIname\fR\&...
6783
.RS 4
6884
Build the specified example. This flag may be specified multiple times

src/etc/man/cargo-check.1

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,22 @@ 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
7187
\fB\-\-example\fR \fIname\fR\&...
7288
.RS 4
7389
Check the specified example. This flag may be specified multiple times

src/etc/man/cargo-doc.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ and supports common Unix glob patterns.
104104
.sp
105105
\fB\-\-examples\fR
106106
.RS 4
107-
Document all examples targets.
107+
Document all example targets.
108108
.RE
109109
.SS "Feature Selection"
110110
The feature flags allow you to control which features are enabled. When no

src/etc/man/cargo-fix.1

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,22 @@ 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
166182
\fB\-\-example\fR \fIname\fR\&...
167183
.RS 4
168184
Fix the specified example. This flag may be specified multiple times

src/etc/man/cargo-rustc.1

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,22 @@ support common Unix glob patterns like \fB*\fR, \fB?\fR and \fB[]\fR\&. However,
4949
shell accidentally expanding glob patterns before Cargo handles them, you must
5050
use single quotes or double quotes around each glob pattern.
5151
.sp
52+
\fB\-\-lib\fR
53+
.RS 4
54+
Build the package's library.
55+
.RE
56+
.sp
57+
\fB\-\-bin\fR \fIname\fR\&...
58+
.RS 4
59+
Build the specified binary. This flag may be specified multiple times
60+
and supports common Unix glob patterns.
61+
.RE
62+
.sp
63+
\fB\-\-bins\fR
64+
.RS 4
65+
Build all binary targets.
66+
.RE
67+
.sp
5268
\fB\-\-example\fR \fIname\fR\&...
5369
.RS 4
5470
Build the specified example. This flag may be specified multiple times

src/etc/man/cargo-rustdoc.1

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

src/etc/man/cargo-test.1

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,22 @@ support common Unix glob patterns like \fB*\fR, \fB?\fR and \fB[]\fR\&. However,
154154
shell accidentally expanding glob patterns before Cargo handles them, you must
155155
use single quotes or double quotes around each glob pattern.
156156
.sp
157+
\fB\-\-lib\fR
158+
.RS 4
159+
Test the package's library.
160+
.RE
161+
.sp
162+
\fB\-\-bin\fR \fIname\fR\&...
163+
.RS 4
164+
Test the specified binary. This flag may be specified multiple times
165+
and supports common Unix glob patterns.
166+
.RE
167+
.sp
168+
\fB\-\-bins\fR
169+
.RS 4
170+
Test all binary targets.
171+
.RE
172+
.sp
157173
\fB\-\-example\fR \fIname\fR\&...
158174
.RS 4
159175
Test the specified example. This flag may be specified multiple times

0 commit comments

Comments
 (0)