Skip to content

Commit

Permalink
Fix typos in new uv self help messages (astral-sh#8376)
Browse files Browse the repository at this point in the history
  • Loading branch information
InSyncWithFoo authored Oct 20, 2024
1 parent 20053f3 commit 93f3316
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion crates/uv/tests/it/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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+( \(.*\))?",
Expand Down
10 changes: 5 additions & 5 deletions crates/uv/tests/it/help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 93f3316

Please sign in to comment.