File tree Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11# cargo-add(1)
2+
23{{* set actionverb="Add"}}
34{{* set nouns="adds"}}
45
@@ -115,7 +116,7 @@ Disable the [default features](../reference/features.html#dependency-features).
115116Re-enable the [ default features] ( ../reference/features.html#dependency-features ) .
116117{{/option}}
117118
118- {{#option "` --features ` _ features_ " }}
119+ {{#option "` -F ` _ features _ " " ` - -features` _ features_ " }}
119120Space or comma separated list of [ features to
120121activate] ( ../reference/features.html#dependency-features ) . When adding multiple
121122crates, the features for a specific crate may be enabled with
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ OPTIONS
103103 Re-enable the default features
104104 <https://doc.rust-lang.org/cargo/reference/features.html#dependency-features>.
105105
106- --features features
106+ -F features, - -features features
107107 Space or comma separated list of features to activate
108108 <https://doc.rust-lang.org/cargo/reference/features.html#dependency-features>.
109109 When adding multiple crates, the features for a specific crate may
Original file line number Diff line number Diff line change 22
33
44
5+
56## NAME
67
78cargo-add --- Add dependencies to a Cargo.toml manifest file
@@ -121,6 +122,7 @@ which is defined by the <code>registry.default</code> config key which defaults
121122<dd class =" option-desc " >Re-enable the <a href =" ../reference/features.html#dependency-features " >default features</a >.</dd >
122123
123124
125+ <dt class =" option-term " id =" option-cargo-add--F " ><a class =" option-anchor " href =" #option-cargo-add--F " ></a ><code >-F</code > <em >features</em ></dt >
124126<dt class =" option-term " id =" option-cargo-add---features " ><a class =" option-anchor " href =" #option-cargo-add---features " ></a ><code >--features</code > <em >features</em ></dt >
125127<dd class =" option-desc " >Space or comma separated list of <a href =" ../reference/features.html#dependency-features " >features to
126128activate</a >. When adding multiple
Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ Disable the \fIdefault features\fR <https://doc.rust\-lang.org/cargo/reference/f
130130Re\- enable the \fI default features \fR <https://doc.rust\- lang.org/cargo/reference/features.html#dependency\- features>\& .
131131.RE
132132.sp
133+ \fB \- F \fR \fI features \fR ,
133134\fB \-\- features \fR \fI features \fR
134135.RS 4
135136Space or comma separated list of \fI features to
You can’t perform that action at this time.
0 commit comments