mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Require at least one target for toolchain uninstalls (#4820)
Closes https://github.com/astral-sh/uv/issues/4816.
This commit is contained in:
parent
a13ab43a0d
commit
3fa09a3972
1 changed files with 4 additions and 3 deletions
|
@ -2063,7 +2063,7 @@ 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
|
||||
|
@ -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>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue