diff --git a/crates/uv-cli/src/lib.rs b/crates/uv-cli/src/lib.rs index d75a58225..af1013724 100644 --- a/crates/uv-cli/src/lib.rs +++ b/crates/uv-cli/src/lib.rs @@ -4614,8 +4614,6 @@ pub struct PublishArgs { /// and index upload. /// /// Defaults to PyPI's publish URL (). - /// - /// The default value is publish URL for PyPI (). #[arg(long, env = EnvVars::UV_PUBLISH_URL)] pub publish_url: Option, diff --git a/docs/reference/cli.md b/docs/reference/cli.md index 238ad49d5..52882d281 100644 --- a/docs/reference/cli.md +++ b/docs/reference/cli.md @@ -7479,8 +7479,6 @@ uv publish [OPTIONS] [FILES]...

Defaults to PyPI’s publish URL (<https://upload.pypi.org/legacy/>).

-

The default value is publish URL for PyPI (<https://upload.pypi.org/legacy/>).

-

May also be set with the UV_PUBLISH_URL environment variable.

--python-preference python-preference

Whether to prefer uv-managed or system Python installations.