Skip to content

Commit

Permalink
Allow no-op --no-compile flag on CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Apr 3, 2024
1 parent 8eaaf65 commit 548724f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions crates/uv/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,9 @@ struct PipSyncArgs {
#[clap(long)]
compile: bool,

#[clap(long, hide = true, conflicts_with = "compile")]
no_compile: bool,

/// Settings to pass to the PEP 517 build backend, specified as `KEY=VALUE` pairs.
#[clap(long, short = 'C', alias = "config-settings")]
config_setting: Vec<ConfigSettingEntry>,
Expand Down Expand Up @@ -938,6 +941,9 @@ struct PipInstallArgs {
#[clap(long)]
compile: bool,

#[clap(long, hide = true, conflicts_with = "compile")]
no_compile: bool,

/// Settings to pass to the PEP 517 build backend, specified as `KEY=VALUE` pairs.
#[clap(long, short = 'C', alias = "config-settings")]
config_setting: Vec<ConfigSettingEntry>,
Expand Down

0 comments on commit 548724f

Please sign in to comment.