mirror of
https://github.com/rust-lang/cargo
synced 2024-08-25 10:35:53 +00:00
clarify profile used for 'cargo install --debug'
This commit is contained in:
parent
44684e0dca
commit
79164d1ae5
|
@ -55,7 +55,10 @@ pub fn cli() -> App {
|
|||
.arg(flag("no-track", "Do not save tracking information"))
|
||||
.arg_features()
|
||||
.arg_profile("Install artifacts with the specified profile")
|
||||
.arg(flag("debug", "Build in debug mode instead of release mode"))
|
||||
.arg(flag(
|
||||
"debug",
|
||||
"Build in debug mode (with the 'dev' profile) instead of release mode",
|
||||
))
|
||||
.arg_targets_bins_examples(
|
||||
"Install only the specified binary",
|
||||
"Install all binaries",
|
||||
|
|
|
@ -246,7 +246,7 @@ whether or not [`rpath`] is enabled.
|
|||
#### dev
|
||||
|
||||
The `dev` profile is used for normal development and debugging. It is the
|
||||
default for build commands like [`cargo build`].
|
||||
default for build commands like [`cargo build`], and is used for `cargo install --debug`.
|
||||
|
||||
The default settings for the `dev` profile are:
|
||||
|
||||
|
|
Loading…
Reference in a new issue