Skip to content

Commit 14ef091

Browse files
committed
fix(cargo-install): remove imprecise install root descriptions
1 parent c2408a7 commit 14ef091

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/bin/cargo/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ Rust's package manager
569569
<cyan,bold>update</> Update dependencies listed in Cargo.lock
570570
<cyan,bold>search</> Search registry for crates
571571
<cyan,bold>publish</> Package and upload this package to the registry
572-
<cyan,bold>install</> Install a Rust binary. Default location is $HOME/.cargo/bin
572+
<cyan,bold>install</> Install a Rust binary
573573
<cyan,bold>uninstall</> Uninstall a Rust binary
574574
<cyan>...</> See all commands with <cyan,bold>--list</>
575575

src/bin/cargo/commands/install.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use cargo_util::paths;
1515

1616
pub fn cli() -> Command {
1717
subcommand("install")
18-
.about("Install a Rust binary. Default location is $HOME/.cargo/bin")
18+
.about("Install a Rust binary")
1919
.arg(
2020
Arg::new("crate")
2121
.value_name("CRATE[@<VER>]")

tests/testsuite/cargo/help/stdout.log

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Commands:
3333
update Update dependencies listed in Cargo.lock
3434
search Search registry for crates
3535
publish Package and upload this package to the registry
36-
install Install a Rust binary. Default location is $HOME/.cargo/bin
36+
install Install a Rust binary
3737
uninstall Uninstall a Rust binary
3838
... See all commands with --list
3939

tests/testsuite/cargo_install/help/stdout.log

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Install a Rust binary. Default location is $HOME/.cargo/bin
1+
Install a Rust binary
22

33
Usage: cargo[EXE] install [OPTIONS] [CRATE[@<VER>]]...
44

0 commit comments

Comments
 (0)