Add --disable-pip-version-check to compatibility arguments (#4672)

## Summary

Closes https://github.com/astral-sh/uv/issues/4590.
This commit is contained in:
Charlie Marsh 2024-06-30 19:43:23 -04:00 committed by GitHub
parent d5501274d8
commit 8ea47ab45f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 59 additions and 3 deletions

View file

@ -1205,6 +1205,9 @@ pub struct PipUninstallArgs {
/// Uninstall packages from the specified `--prefix` directory.
#[arg(long, conflicts_with = "target")]
pub prefix: Option<PathBuf>,
#[command(flatten)]
pub compat_args: compat::PipGlobalCompatArgs,
}
#[derive(Args)]
@ -1255,6 +1258,9 @@ pub struct PipFreezeArgs {
#[arg(long, overrides_with("system"), hide = true)]
pub no_system: bool,
#[command(flatten)]
pub compat_args: compat::PipGlobalCompatArgs,
}
#[derive(Args)]
@ -1407,6 +1413,9 @@ pub struct PipShowArgs {
#[arg(long, overrides_with("system"), hide = true)]
pub no_system: bool,
#[command(flatten)]
pub compat_args: compat::PipGlobalCompatArgs,
}
#[derive(Args)]
@ -1468,6 +1477,9 @@ pub struct PipTreeArgs {
#[arg(long, overrides_with("system"))]
pub no_system: bool,
#[command(flatten)]
pub compat_args: compat::PipGlobalCompatArgs,
}
#[derive(Args)]