Skip to content

Commit

Permalink
Auto merge of #6354 - collin5:b4417, r=dwijnand
Browse files Browse the repository at this point in the history
Improve doc for `cargo install`

Fixes #4417
  • Loading branch information
bors committed Nov 27, 2018
2 parents 151c225 + b738f48 commit 0273e73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bin/cargo/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ Some common cargo commands are (see all commands with --list):
update Update dependencies listed in Cargo.lock
search Search registry for crates
publish Package and upload this package to the registry
install Install a Rust binary
install Install a Rust binary. Default location is $HOME/.cargo/bin
uninstall Uninstall a Rust binary
See 'cargo help <command>' for more information on a specific command.\n",
Expand Down
2 changes: 1 addition & 1 deletion src/bin/cargo/commands/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use cargo::util::ToUrl;

pub fn cli() -> App {
subcommand("install")
.about("Install a Rust binary")
.about("Install a Rust binary. Default location is $HOME/.cargo/bin")
.arg(Arg::with_name("crate").empty_values(false).multiple(true))
.arg(
opt("version", "Specify a version to install from crates.io")
Expand Down

0 comments on commit 0273e73

Please sign in to comment.