Skip to content

Commit

Permalink
Hide --no-system from uv pip tree CLI (#9040)
Browse files Browse the repository at this point in the history
## Summary

This is hidden from all other commands, so it looks like an oversight.

Closes #9035.
  • Loading branch information
charliermarsh authored Nov 12, 2024
1 parent b3c660c commit 5187f33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/uv-cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2111,7 +2111,7 @@ pub struct PipTreeArgs {
)]
pub system: bool,

#[arg(long, overrides_with("system"))]
#[arg(long, overrides_with("system"), hide = true)]
pub no_system: bool,

#[command(flatten)]
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -7033,7 +7033,7 @@ uv pip tree [OPTIONS]
<p>May also be set with the <code>UV_NO_PROGRESS</code> environment variable.</p>
</dd><dt><code>--no-python-downloads</code></dt><dd><p>Disable automatic downloads of Python.</p>

</dd><dt><code>--no-system</code></dt><dt><code>--offline</code></dt><dd><p>Disable network access.</p>
</dd><dt><code>--offline</code></dt><dd><p>Disable network access.</p>

<p>When disabled, uv will only use locally cached data and locally available files.</p>

Expand Down

0 comments on commit 5187f33

Please sign in to comment.