diff --git a/crates/uv-cli/src/lib.rs b/crates/uv-cli/src/lib.rs index df4a19919..77c866f25 100644 --- a/crates/uv-cli/src/lib.rs +++ b/crates/uv-cli/src/lib.rs @@ -5016,9 +5016,6 @@ pub struct PythonPinArgs { /// /// When a local Python version pin is not found in the working directory or an ancestor /// directory, this version will be used instead. - /// - /// Unlike local version pins, this version is used as the default for commands that mutate - /// global state, like `uv tool install`. #[arg(long)] pub global: bool, } diff --git a/docs/reference/cli.md b/docs/reference/cli.md index 583db76eb..65fcf9fd0 100644 --- a/docs/reference/cli.md +++ b/docs/reference/cli.md @@ -2866,7 +2866,6 @@ uv python pin [OPTIONS] [REQUEST]
--globalUpdate the global Python version pin.
Writes the pinned Python version to a .python-version file in the uv user configuration directory: XDG_CONFIG_HOME/uv on Linux/macOS and %APPDATA%/uv on Windows.
When a local Python version pin is not found in the working directory or an ancestor directory, this version will be used instead.
-Unlike local version pins, this version is used as the default for commands that mutate global state, like uv tool install.
--help, -hDisplay the concise help for this command
--managed-pythonRequire use of uv-managed Python versions.
By default, uv prefers using Python versions it manages. However, it will use system Python versions if a uv-managed Python is not installed. This option disables use of system Python versions.