Skip to content

Commit ad830d1

Browse files
committed
Fix uv python install --default note about multiple requests
1 parent 8f88f98 commit ad830d1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

crates/uv-cli/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4354,8 +4354,7 @@ pub struct PythonInstallArgs {
43544354
/// 3.13+freethreaded with `--default` will include in `python3t` and `pythont`, not `python3`
43554355
/// and `python`.
43564356
///
4357-
/// If multiple Python versions are requested during the installation, the first request will be
4358-
/// the default.
4357+
/// If multiple Python versions are requested, uv will exit with an error.
43594358
#[arg(long)]
43604359
pub default: bool,
43614360
}

docs/reference/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4709,7 +4709,7 @@ uv python install [OPTIONS] [TARGETS]...
47094709

47104710
<p>Alternative Python variants will still include their tag. For example, installing 3.13+freethreaded with <code>--default</code> will include in <code>python3t</code> and <code>pythont</code>, not <code>python3</code> and <code>python</code>.</p>
47114711

4712-
<p>If multiple Python versions are requested during the installation, the first request will be the default.</p>
4712+
<p>If multiple Python versions are requested, uv will exit with an error.</p>
47134713

47144714
</dd><dt><code>--directory</code> <i>directory</i></dt><dd><p>Change to the given directory prior to running the command.</p>
47154715

0 commit comments

Comments
 (0)