Auto merge of #13344 - my-contributes:master, r=weihanglo

fix list option description starting with uppercase

All options' description start with uppercase except list.
This commit is contained in:
bors 2024-01-25 12:47:19 +00:00
commit 29386b9c32
2 changed files with 2 additions and 2 deletions

View file

@ -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()

View file

@ -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