Skip to content

Commit aed9269

Browse files
Align indentation of long arguments (#13394)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [clap](https://redirect.github.com/clap-rs/clap) | workspace.dependencies | patch | `4.5.35` -> `4.5.38` | --- ### Release Notes <details> <summary>clap-rs/clap (clap)</summary> ### [`v4.5.38`](https://redirect.github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4538---2025-05-11) [Compare Source](https://redirect.github.com/clap-rs/clap/compare/v4.5.37...v4.5.38) ##### Fixes - *(help)* When showing aliases, include leading `--` or `-` ### [`v4.5.37`](https://redirect.github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4537---2025-04-18) [Compare Source](https://redirect.github.com/clap-rs/clap/compare/v4.5.36...v4.5.37) ##### Features - Added `ArgMatches::try_clear_id()` ### [`v4.5.36`](https://redirect.github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4536---2025-04-11) [Compare Source](https://redirect.github.com/clap-rs/clap/compare/v4.5.35...v4.5.36) ##### Fixes - *(help)* Revert 4.5.35's "Don't leave space for shorts if there are none" for now </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/uv). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC43LjEiLCJ1cGRhdGVkSW5WZXIiOiI0MC43LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImludGVybmFsIl19--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: konstin <konstin@mailbox.org>
1 parent bd8bffe commit aed9269

File tree

2 files changed

+38
-31
lines changed

2 files changed

+38
-31
lines changed

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/uv/tests/it/help.rs

Lines changed: 34 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ fn help() {
4242
--cache-dir [CACHE_DIR] Path to the cache directory [env: UV_CACHE_DIR=]
4343
4444
Python options:
45-
--managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=]
46-
--no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=]
47-
--no-python-downloads Disable automatic downloads of Python. [env: "UV_PYTHON_DOWNLOADS=never"]
45+
--managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=]
46+
--no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=]
47+
--no-python-downloads Disable automatic downloads of Python. [env:
48+
"UV_PYTHON_DOWNLOADS=never"]
4849
4950
Global options:
5051
-q, --quiet...
@@ -120,9 +121,10 @@ fn help_flag() {
120121
--cache-dir [CACHE_DIR] Path to the cache directory [env: UV_CACHE_DIR=]
121122
122123
Python options:
123-
--managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=]
124-
--no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=]
125-
--no-python-downloads Disable automatic downloads of Python. [env: "UV_PYTHON_DOWNLOADS=never"]
124+
--managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=]
125+
--no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=]
126+
--no-python-downloads Disable automatic downloads of Python. [env:
127+
"UV_PYTHON_DOWNLOADS=never"]
126128
127129
Global options:
128130
-q, --quiet...
@@ -197,9 +199,10 @@ fn help_short_flag() {
197199
--cache-dir [CACHE_DIR] Path to the cache directory [env: UV_CACHE_DIR=]
198200
199201
Python options:
200-
--managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=]
201-
--no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=]
202-
--no-python-downloads Disable automatic downloads of Python. [env: "UV_PYTHON_DOWNLOADS=never"]
202+
--managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=]
203+
--no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=]
204+
--no-python-downloads Disable automatic downloads of Python. [env:
205+
"UV_PYTHON_DOWNLOADS=never"]
203206
204207
Global options:
205208
-q, --quiet...
@@ -312,7 +315,7 @@ fn help_subcommand() {
312315
[env: UV_CACHE_DIR=]
313316
314317
Python options:
315-
--managed-python
318+
--managed-python
316319
Require use of uv-managed Python versions.
317320
318321
By default, uv prefers using Python versions it manages. However, it will use system
@@ -321,14 +324,14 @@ fn help_subcommand() {
321324
322325
[env: UV_MANAGED_PYTHON=]
323326
324-
--no-managed-python
327+
--no-managed-python
325328
Disable use of uv-managed Python versions.
326329
327330
Instead, uv will search for a suitable Python version on the system.
328331
329332
[env: UV_NO_MANAGED_PYTHON=]
330333
331-
--no-python-downloads
334+
--no-python-downloads
332335
Disable automatic downloads of Python. [env: "UV_PYTHON_DOWNLOADS=never"]
333336
334337
Global options:
@@ -569,7 +572,7 @@ fn help_subsubcommand() {
569572
[env: UV_CACHE_DIR=]
570573
571574
Python options:
572-
--managed-python
575+
--managed-python
573576
Require use of uv-managed Python versions.
574577
575578
By default, uv prefers using Python versions it manages. However, it will use system
@@ -578,14 +581,14 @@ fn help_subsubcommand() {
578581
579582
[env: UV_MANAGED_PYTHON=]
580583
581-
--no-managed-python
584+
--no-managed-python
582585
Disable use of uv-managed Python versions.
583586
584587
Instead, uv will search for a suitable Python version on the system.
585588
586589
[env: UV_NO_MANAGED_PYTHON=]
587590
588-
--no-python-downloads
591+
--no-python-downloads
589592
Disable automatic downloads of Python. [env: "UV_PYTHON_DOWNLOADS=never"]
590593
591594
Global options:
@@ -726,9 +729,10 @@ fn help_flag_subcommand() {
726729
--cache-dir [CACHE_DIR] Path to the cache directory [env: UV_CACHE_DIR=]
727730
728731
Python options:
729-
--managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=]
730-
--no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=]
731-
--no-python-downloads Disable automatic downloads of Python. [env: "UV_PYTHON_DOWNLOADS=never"]
732+
--managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=]
733+
--no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=]
734+
--no-python-downloads Disable automatic downloads of Python. [env:
735+
"UV_PYTHON_DOWNLOADS=never"]
732736
733737
Global options:
734738
-q, --quiet...
@@ -802,9 +806,10 @@ fn help_flag_subsubcommand() {
802806
--cache-dir [CACHE_DIR] Path to the cache directory [env: UV_CACHE_DIR=]
803807
804808
Python options:
805-
--managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=]
806-
--no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=]
807-
--no-python-downloads Disable automatic downloads of Python. [env: "UV_PYTHON_DOWNLOADS=never"]
809+
--managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=]
810+
--no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=]
811+
--no-python-downloads Disable automatic downloads of Python. [env:
812+
"UV_PYTHON_DOWNLOADS=never"]
808813
809814
Global options:
810815
-q, --quiet...
@@ -955,9 +960,10 @@ fn help_with_global_option() {
955960
--cache-dir [CACHE_DIR] Path to the cache directory [env: UV_CACHE_DIR=]
956961
957962
Python options:
958-
--managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=]
959-
--no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=]
960-
--no-python-downloads Disable automatic downloads of Python. [env: "UV_PYTHON_DOWNLOADS=never"]
963+
--managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=]
964+
--no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=]
965+
--no-python-downloads Disable automatic downloads of Python. [env:
966+
"UV_PYTHON_DOWNLOADS=never"]
961967
962968
Global options:
963969
-q, --quiet...
@@ -1075,9 +1081,10 @@ fn help_with_no_pager() {
10751081
--cache-dir [CACHE_DIR] Path to the cache directory [env: UV_CACHE_DIR=]
10761082
10771083
Python options:
1078-
--managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=]
1079-
--no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=]
1080-
--no-python-downloads Disable automatic downloads of Python. [env: "UV_PYTHON_DOWNLOADS=never"]
1084+
--managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=]
1085+
--no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=]
1086+
--no-python-downloads Disable automatic downloads of Python. [env:
1087+
"UV_PYTHON_DOWNLOADS=never"]
10811088
10821089
Global options:
10831090
-q, --quiet...

0 commit comments

Comments
 (0)