Skip to content

Commit

Permalink
Add -P alias for --upgrade-package
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Feb 16, 2024
1 parent 68f031e commit 7a4530d
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 @@ -261,7 +261,7 @@ struct PipCompileArgs {

/// Allow upgrades for a specific package, ignoring pinned versions in the existing output
/// file.
#[clap(long)]
#[clap(long, short = 'P')]
upgrade_package: Vec<PackageName>,

/// Include distribution hashes in the output file.
Expand Down Expand Up @@ -475,7 +475,7 @@ struct PipInstallArgs {
upgrade: bool,

/// Allow upgrade of a specific package.
#[clap(long)]
#[clap(long, short = 'P')]
upgrade_package: Vec<PackageName>,

/// Reinstall all packages, regardless of whether they're already installed.
Expand Down

0 comments on commit 7a4530d

Please sign in to comment.