From b738f486a4eee5bea622a876b2a12b8e771774bf Mon Sep 17 00:00:00 2001 From: Collins Abitekaniza Date: Tue, 27 Nov 2018 16:24:51 +0300 Subject: [PATCH] improve description for cargo install --- src/bin/cargo/cli.rs | 2 +- src/bin/cargo/commands/install.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/cargo/cli.rs b/src/bin/cargo/cli.rs index ad1ddd85297..1d6af33cad2 100644 --- a/src/bin/cargo/cli.rs +++ b/src/bin/cargo/cli.rs @@ -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 ' for more information on a specific command.\n", diff --git a/src/bin/cargo/commands/install.rs b/src/bin/cargo/commands/install.rs index b6348d747d4..be7be8e21ed 100644 --- a/src/bin/cargo/commands/install.rs +++ b/src/bin/cargo/commands/install.rs @@ -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")