Skip to content

Commit b738f48

Browse files
committed
improve description for cargo install
1 parent 6d57b59 commit b738f48

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bin/cargo/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ Some common cargo commands are (see all commands with --list):
206206
update Update dependencies listed in Cargo.lock
207207
search Search registry for crates
208208
publish Package and upload this package to the registry
209-
install Install a Rust binary
209+
install Install a Rust binary. Default location is $HOME/.cargo/bin
210210
uninstall Uninstall a Rust binary
211211
212212
See 'cargo help <command>' for more information on a specific command.\n",

src/bin/cargo/commands/install.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use cargo::util::ToUrl;
66

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

0 commit comments

Comments
 (0)