Skip to content

Commit

Permalink
Hide --no-system from the CLI (#4292)
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh authored Jun 13, 2024
1 parent 544b900 commit a547d7f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions crates/uv/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ pub(crate) struct PipCompileArgs {
)]
pub(crate) system: bool,

#[arg(long, overrides_with("system"))]
#[arg(long, overrides_with("system"), hide = true)]
pub(crate) no_system: bool,

/// Allow package upgrades, ignoring pinned versions in the existing output file.
Expand Down Expand Up @@ -750,7 +750,7 @@ pub(crate) struct PipSyncArgs {
)]
pub(crate) system: bool,

#[arg(long, overrides_with("system"))]
#[arg(long, overrides_with("system"), hide = true)]
pub(crate) no_system: bool,

/// Allow `uv` to modify an `EXTERNALLY-MANAGED` Python installation.
Expand Down Expand Up @@ -1124,7 +1124,7 @@ pub(crate) struct PipInstallArgs {
)]
pub(crate) system: bool,

#[arg(long, overrides_with("system"))]
#[arg(long, overrides_with("system"), hide = true)]
pub(crate) no_system: bool,

/// Allow `uv` to modify an `EXTERNALLY-MANAGED` Python installation.
Expand Down Expand Up @@ -1349,7 +1349,7 @@ pub(crate) struct PipUninstallArgs {
)]
pub(crate) system: bool,

#[arg(long, overrides_with("system"))]
#[arg(long, overrides_with("system"), hide = true)]
pub(crate) no_system: bool,

/// Allow `uv` to modify an `EXTERNALLY-MANAGED` Python installation.
Expand Down Expand Up @@ -1424,7 +1424,7 @@ pub(crate) struct PipFreezeArgs {
)]
pub(crate) system: bool,

#[arg(long, overrides_with("system"))]
#[arg(long, overrides_with("system"), hide = true)]
pub(crate) no_system: bool,
}

Expand Down Expand Up @@ -1486,7 +1486,7 @@ pub(crate) struct PipListArgs {
)]
pub(crate) system: bool,

#[arg(long, overrides_with("system"))]
#[arg(long, overrides_with("system"), hide = true)]
pub(crate) no_system: bool,

#[command(flatten)]
Expand Down Expand Up @@ -1527,7 +1527,7 @@ pub(crate) struct PipCheckArgs {
)]
pub(crate) system: bool,

#[arg(long, overrides_with("system"))]
#[arg(long, overrides_with("system"), hide = true)]
pub(crate) no_system: bool,
}

Expand Down Expand Up @@ -1576,7 +1576,7 @@ pub(crate) struct PipShowArgs {
)]
pub(crate) system: bool,

#[arg(long, overrides_with("system"))]
#[arg(long, overrides_with("system"), hide = true)]
pub(crate) no_system: bool,
}

Expand Down Expand Up @@ -1612,7 +1612,7 @@ pub(crate) struct VenvArgs {
)]
pub(crate) system: bool,

#[arg(long, overrides_with("system"))]
#[arg(long, overrides_with("system"), hide = true)]
pub(crate) no_system: bool,

/// Install seed packages (`pip`, `setuptools`, and `wheel`) into the virtual environment.
Expand Down

0 comments on commit a547d7f

Please sign in to comment.