Skip to content

Commit

Permalink
Add JSON alias for unsafe-any-match (#3820)
Browse files Browse the repository at this point in the history
Closes #3819.
  • Loading branch information
charliermarsh authored May 24, 2024
1 parent c2a58cd commit 73f6708
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/uv-configuration/src/build_options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ pub enum IndexStrategy {
///
/// See: <https://peps.python.org/pep-0708/>
#[cfg_attr(feature = "clap", clap(alias = "unsafe-any-match"))]
#[serde(alias = "unsafe-any-match")]
UnsafeFirstMatch,
/// Search for every package name across all indexes, preferring the "best" version found. If a
/// package version is in multiple indexes, only look at the entry for the first index.
Expand Down

0 comments on commit 73f6708

Please sign in to comment.