Skip to content

Commit

Permalink
Auto merge of #13344 - my-contributes:master, r=weihanglo
Browse files Browse the repository at this point in the history
fix list option description starting with uppercase

All options' description start with uppercase except list.
bors committed Jan 25, 2024
2 parents b2e1d3b + f30987f commit 29386b9
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bin/cargo/commands/install.rs
Original file line number Diff line number Diff line change
@@ -72,7 +72,7 @@ pub fn cli() -> Command {
.arg(flag("no-track", "Do not save tracking information"))
.arg(flag(
"list",
"list all installed packages and their versions",
"List all installed packages and their versions",
))
.arg_ignore_rust_version()
.arg_message_format()
2 changes: 1 addition & 1 deletion tests/testsuite/cargo_install/help/stdout.log
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ Options:
--root <DIR> Directory to install packages into
-f, --force Force overwriting existing crates or binaries
--no-track Do not save tracking information
--list list all installed packages and their versions
--list List all installed packages and their versions
--ignore-rust-version Ignore `rust-version` specification in packages
--message-format <FMT> Error format
--debug Build in debug mode (with the 'dev' profile) instead of release mode

0 comments on commit 29386b9

Please sign in to comment.