Skip to content

Commit 29386b9

Browse files
committed
Auto merge of #13344 - my-contributes:master, r=weihanglo
fix list option description starting with uppercase All options' description start with uppercase except list.
2 parents b2e1d3b + f30987f commit 29386b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bin/cargo/commands/install.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ pub fn cli() -> Command {
7272
.arg(flag("no-track", "Do not save tracking information"))
7373
.arg(flag(
7474
"list",
75-
"list all installed packages and their versions",
75+
"List all installed packages and their versions",
7676
))
7777
.arg_ignore_rust_version()
7878
.arg_message_format()

tests/testsuite/cargo_install/help/stdout.log

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Options:
1717
--root <DIR> Directory to install packages into
1818
-f, --force Force overwriting existing crates or binaries
1919
--no-track Do not save tracking information
20-
--list list all installed packages and their versions
20+
--list List all installed packages and their versions
2121
--ignore-rust-version Ignore `rust-version` specification in packages
2222
--message-format <FMT> Error format
2323
--debug Build in debug mode (with the 'dev' profile) instead of release mode

0 commit comments

Comments
 (0)