Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require at least one target for toolchain uninstalls #4820

Merged
merged 1 commit into from
Jul 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions crates/uv-cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2063,10 +2063,10 @@ pub struct PythonListArgs {
#[derive(Args)]
#[allow(clippy::struct_excessive_bools)]
pub struct PythonInstallArgs {
/// The Python versions to install.
/// The Python version(s) to install.
///
/// If not provided, the requested Python version(s) will be read from the `.python-versions`
/// or `.python-version` files. If neither file is present, uv will check if it has
/// or `.python-version` files. If neither file is present, uv will check if it has
/// installed any Python versions. If not, it will install the latest stable version of Python.
pub targets: Vec<String>,

Expand All @@ -2078,7 +2078,8 @@ pub struct PythonInstallArgs {
#[derive(Args)]
#[allow(clippy::struct_excessive_bools)]
pub struct PythonUninstallArgs {
/// The Python versions to uninstall.
/// The Python version(s) to uninstall.
#[arg(required = true)]
pub targets: Vec<String>,
}

Expand Down
Loading