File tree 4 files changed +9
-8
lines changed
4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ cargo-install --- Build and install a Rust binary
18
18
This command manages Cargo's local set of installed binary crates. Only
19
19
packages which have executable ` [[bin]] ` or ` [[example]] ` targets can be
20
20
installed, and all executables are installed into the installation root's
21
- ` bin ` folder.
21
+ ` bin ` folder. By default only binaries, not examples, are installed.
22
22
23
23
{{> description-install-root }}
24
24
@@ -141,7 +141,7 @@ Install only the specified binary.
141
141
{{/option}}
142
142
143
143
{{#option "` --bins ` " }}
144
- Install all binaries.
144
+ Install all binaries. This is the default behavior.
145
145
{{/option}}
146
146
147
147
{{#option "` --example ` _ name_ ..." }}
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ DESCRIPTION
13
13
This command manages Cargo’s local set of installed binary crates.
14
14
Only packages which have executable [[bin]] or [[example]] targets can
15
15
be installed, and all executables are installed into the installation
16
- root’s bin folder.
16
+ root’s bin folder. By default only binaries, not examples, are
17
+ installed.
17
18
18
19
The installation root is determined, in order of precedence:
19
20
@@ -137,7 +138,7 @@ OPTIONS
137
138
Install only the specified binary.
138
139
139
140
--bins
140
- Install all binaries.
141
+ Install all binaries. This is the default behavior.
141
142
142
143
--example name…
143
144
Install only the specified example.
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ cargo-install --- Build and install a Rust binary
18
18
This command manages Cargo's local set of installed binary crates. Only
19
19
packages which have executable ` [[bin]] ` or ` [[example]] ` targets can be
20
20
installed, and all executables are installed into the installation root's
21
- ` bin ` folder.
21
+ ` bin ` folder. By default only binaries, not examples, are installed.
22
22
23
23
The installation root is determined, in order of precedence:
24
24
@@ -150,7 +150,7 @@ same time.</dd>
150
150
151
151
152
152
<dt class =" option-term " id =" option-cargo-install---bins " ><a class =" option-anchor " href =" #option-cargo-install---bins " ></a ><code >--bins</code ></dt >
153
- <dd class =" option-desc " >Install all binaries.</dd >
153
+ <dd class =" option-desc " >Install all binaries. This is the default behavior. </dd >
154
154
155
155
156
156
<dt class =" option-term " id =" option-cargo-install---example " ><a class =" option-anchor " href =" #option-cargo-install---example " ></a ><code >--example</code > <em >name</em >…</dt >
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ cargo\-install \[em] Build and install a Rust binary
17
17
This command manages Cargo\[cq ] s local set of installed binary crates. Only
18
18
packages which have executable \fB [[bin]] \fR or \fB [[example]] \fR targets can be
19
19
installed, and all executables are installed into the installation root\[cq ] s
20
- \fB bin \fR folder.
20
+ \fB bin \fR folder. By default only binaries, not examples, are installed.
21
21
.sp
22
22
The installation root is determined, in order of precedence:
23
23
.sp
@@ -177,7 +177,7 @@ Install only the specified binary.
177
177
.sp
178
178
\fB \-\- bins \fR
179
179
.RS 4
180
- Install all binaries.
180
+ Install all binaries. This is the default behavior.
181
181
.RE
182
182
.sp
183
183
\fB \-\- example \fR \fI name \fR \[u2026 ]
You can’t perform that action at this time.
0 commit comments