8000
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions docs/concepts/resolution.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,11 +273,12 @@ For example, given the following `requirements.in` file:
flask>=2.0.0
```

Running `uv pip compile requirements.in` would produce the following `requirements.txt` file:
Running `uv pip compile requirements.in -o requirements.txt` would produce the following
`requirements.txt` file:

```python title="requirements.txt"
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in
# uv pip compile requirements.in -o requirements.txt
blinker==1.7.0
# via flask
click==8.1.7
Expand All @@ -295,11 +296,12 @@ werkzeug==3.0.1
# via flask
```

However, `uv pip compile --resolution lowest requirements.in` would instead produce:
However, `uv pip compile --resolution lowest requirements.in -o requirements.txt` would instead
produce:

```python title="requirements.in"
```python title="requirements.txt"
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --resolution lowest
# uv pip compile --resolution lowest requirements.in -o requirements.txt
click==7.1.2
# via flask
flask==2.0.0
Expand Down
Loading
0