Hide python options in uv tool list help (#6003)

## Summary

Closes #5982 .

## Test Plan

```
cargo run tool list --help
```

---------

Co-authored-by: Zanie Blue <contact@zanie.dev>
This commit is contained in:
eth3lbert 2024-08-14 00:21:44 +08:00 committed by GitHub
parent d20314038f
commit ef948619ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 18 deletions

View file

@ -2815,6 +2815,12 @@ pub struct ToolListArgs {
/// Whether to display the path to each tool environment and installed executable.
#[arg(long)]
pub show_paths: bool,
// Hide unused global Python options.
#[arg(long, hide = true)]
pub python_preference: Option<PythonPreference>,
#[arg(long, hide = true)]
pub no_python_downloads: bool,
}
#[derive(Args)]