Skip to content

Commit

Permalink
Add -U short flag for --upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Feb 16, 2024
1 parent 64edfc0 commit 68f031e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/uv/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ struct PipCompileArgs {
find_links: Vec<FlatIndexLocation>,

/// Allow package upgrades, ignoring pinned versions in the existing output file.
#[clap(long)]
#[clap(long, short = 'U')]
upgrade: bool,

/// Allow upgrades for a specific package, ignoring pinned versions in the existing output
Expand Down Expand Up @@ -471,7 +471,7 @@ struct PipInstallArgs {
all_extras: bool,

/// Allow package upgrades.
#[clap(long)]
#[clap(long, short = 'U')]
upgrade: bool,

/// Allow upgrade of a specific package.
Expand Down

0 comments on commit 68f031e

Please sign in to comment.