Add verbose output to the documentation help section (#15915)

Closes https://github.com/astral-sh/uv/issues/15914
This commit is contained in:
Zanie Blue 2025-09-17 10:12:59 -05:00 committed by GitHub
parent 2a14edf75c
commit fa50a5cede
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,6 +30,23 @@ $ uv help init
When using the long help menu, uv will attempt to use `less` or `more` to "page" the output so it is
not all displayed at once. To exit the pager, press `q`.
## Displaying verbose output
The `-v` flag can be used to display verbose output for a command, e.g., for `uv sync`:
```console
$ uv sync -v
```
The `-v` flag can be repeated to increase verbosity, e.g.:
```console
$ uv sync -vv
```
Often, the verbose output will include additional information about why uv is behaving in a certain
way.
## Viewing the version
When seeking help, it's important to determine the version of uv that you're using — sometimes the