mirror of https://github.com/astral-sh/uv
Fix display name for `uvx --version` (#13109)
Based on #13108 because I don't want to deal with rebasing conflicts across `main` and `release/070`. ``` ❯ .uvx --version uv-tool-uvx 0.6.16+23 (33b8b73402025-04-25) ❯ uvx --version uvx 0.6.16+23 (33b8b73402025-04-25) ``` For posterity, chased this down via https://github.com/clap-rs/clap/pull/3693 and https://github.com/clap-rs/clap/issues/1382
This commit is contained in:
parent
60a164abbb
commit
e8524ebea4
|
|
@ -4063,6 +4063,7 @@ pub enum ToolCommand {
|
||||||
about = "Run a command provided by a Python package.",
|
about = "Run a command provided by a Python package.",
|
||||||
after_help = "Use `uv help tool run` for more details.",
|
after_help = "Use `uv help tool run` for more details.",
|
||||||
after_long_help = "",
|
after_long_help = "",
|
||||||
|
display_name = "uvx",
|
||||||
long_version = crate::version::uv_self_version()
|
long_version = crate::version::uv_self_version()
|
||||||
)]
|
)]
|
||||||
Uvx(UvxArgs),
|
Uvx(UvxArgs),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue