-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
A-cli-helpArea: built-in command-line helpArea: built-in command-line helpC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Description
Problem
$ cargo install --help
cargo-install
Install a Rust binary. Default location is $HOME/.cargo/bin
<snip>
cargo tells you on the first line what the default location is but not how to override it. It is mentioned in the OPTIONS section but that's a wall of text, making it very easy to miss. It's effectively buried.
cargo help install
mentions --root
very clearly and I would suggest for cargo install --help
to do the same.
Proposed Solution
Maybe change it to this?
Install a Rust binary. Default location is $HOME/.cargo/bin, override with --root.
Notes
No response
Metadata
Metadata
Assignees
Labels
A-cli-helpArea: built-in command-line helpArea: built-in command-line helpC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.