From ae7c08c1ff66ed5f0a5773d37a11c18cde82c68c Mon Sep 17 00:00:00 2001 From: bestgopher <84328409@qq.com> Date: Thu, 25 Jan 2024 15:55:11 +0800 Subject: [PATCH 1/2] fix list option description starting with uppercase --- src/bin/cargo/commands/install.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/cargo/commands/install.rs b/src/bin/cargo/commands/install.rs index 755ff435fc6..04639fbcd55 100644 --- a/src/bin/cargo/commands/install.rs +++ b/src/bin/cargo/commands/install.rs @@ -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() From f30987fc76b257da4f0cdf07bf69779ef333238a Mon Sep 17 00:00:00 2001 From: bestgopher <84328409@qq.com> Date: Thu, 25 Jan 2024 16:31:22 +0800 Subject: [PATCH 2/2] Update stdout.log --- tests/testsuite/cargo_install/help/stdout.log | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testsuite/cargo_install/help/stdout.log b/tests/testsuite/cargo_install/help/stdout.log index 143215345e1..5f072564680 100644 --- a/tests/testsuite/cargo_install/help/stdout.log +++ b/tests/testsuite/cargo_install/help/stdout.log @@ -17,7 +17,7 @@ Options: --root