mirror of https://github.com/astral-sh/uv
Update docs for `--publish-url` to avoid duplication. (#8561)
## Summary
These two sentences in the docs for `--publish-url` seem to basically be
duplicates:
3eda248ef5/crates/uv-cli/src/lib.rs (L4616-L4618)
I found the first to be easier to read, so this commit removes the
second.
## Test Plan
No tests, change is docs-only.
---------
Co-authored-by: Zanie Blue <contact@zanie.dev>
This commit is contained in:
parent
374d4af488
commit
d2cd09bbd7
|
|
@ -4614,8 +4614,6 @@ pub struct PublishArgs {
|
|||
/// and index upload.
|
||||
///
|
||||
/// Defaults to PyPI's publish URL (<https://upload.pypi.org/legacy/>).
|
||||
///
|
||||
/// The default value is publish URL for PyPI (<https://upload.pypi.org/legacy/>).
|
||||
#[arg(long, env = EnvVars::UV_PUBLISH_URL)]
|
||||
pub publish_url: Option<Url>,
|
||||
|
||||
|
|
|
|||
|
|
@ -7479,8 +7479,6 @@ uv publish [OPTIONS] [FILES]...
|
|||
|
||||
<p>Defaults to PyPI’s publish URL (<https://upload.pypi.org/legacy/>).</p>
|
||||
|
||||
<p>The default value is publish URL for PyPI (<https://upload.pypi.org/legacy/>).</p>
|
||||
|
||||
<p>May also be set with the <code>UV_PUBLISH_URL</code> environment variable.</p>
|
||||
</dd><dt><code>--python-preference</code> <i>python-preference</i></dt><dd><p>Whether to prefer uv-managed or system Python installations.</p>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue