Skip to content

Commit

Permalink
improve description for cargo install
Browse files Browse the repository at this point in the history
  • Loading branch information
collin5 committed Nov 27, 2018
1 parent 6d57b59 commit b738f48
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 b738f48

Please sign in to comment.