From 93f3316c887b5782c3d0f6858fc92d0fd2de5635 Mon Sep 17 00:00:00 2001 From: InSync Date: Sun, 20 Oct 2024 17:20:04 +0000 Subject: [PATCH] Fix typos in new `uv self` help messages (#8376) [Originally reported](https://discord.com/channels/1039017663004942429/1060247592765759518/1297405236599591004) by dice on Discord. --- crates/uv/tests/it/common/mod.rs | 2 +- crates/uv/tests/it/help.rs | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/uv/tests/it/common/mod.rs b/crates/uv/tests/it/common/mod.rs index 2d83f2cae9e8..e5e5878cda7d 100644 --- a/crates/uv/tests/it/common/mod.rs +++ b/crates/uv/tests/it/common/mod.rs @@ -56,7 +56,7 @@ pub const INSTA_FILTERS: &[(&str, &str)] = &[ (r"tv_nsec: \d+", "tv_nsec: [TIME]"), // Rewrite Windows output to Unix output (r"\\([\w\d]|\.\.)", "/$1"), - (r"uv.exe", "uv"), + (r"uv\.exe", "uv"), // uv version display ( r"uv(-.*)? \d+\.\d+\.\d+( \(.*\))?", diff --git a/crates/uv/tests/it/help.rs b/crates/uv/tests/it/help.rs index 0ef097bae09b..ee9bf082660c 100644 --- a/crates/uv/tests/it/help.rs +++ b/crates/uv/tests/it/help.rs @@ -29,7 +29,7 @@ fn help() { build Build Python packages into source distributions and wheels publish Upload distributions to an index cache Manage uv's cache - self Manage the uvcutable + self Manage the uv executable version Display uv's version generate-shell-completion Generate shell completion help Display documentation for a command @@ -99,7 +99,7 @@ fn help_flag() { build Build Python packages into source distributions and wheels publish Upload distributions to an index cache Manage uv's cache - self Manage the uvcutable + self Manage the uv executable version Display uv's version help Display documentation for a command @@ -167,7 +167,7 @@ fn help_short_flag() { build Build Python packages into source distributions and wheels publish Upload distributions to an index cache Manage uv's cache - self Manage the uvcutable + self Manage the uv executable version Display uv's version help Display documentation for a command @@ -778,7 +778,7 @@ fn help_with_global_option() { build Build Python packages into source distributions and wheels publish Upload distributions to an index cache Manage uv's cache - self Manage the uvcutable + self Manage the uv executable version Display uv's version generate-shell-completion Generate shell completion help Display documentation for a command @@ -883,7 +883,7 @@ fn help_with_no_pager() { build Build Python packages into source distributions and wheels publish Upload distributions to an index cache Manage uv's cache - self Manage the uvcutable + self Manage the uv executable version Display uv's version generate-shell-completion Generate shell completion help Display documentation for a command