Skip to content

Commit a5d562e

Browse files
authored
doc: poetry lock --no-update
Resolves: #1614
1 parent 24fcaf9 commit a5d562e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/docs/cli.md

+8
Original file line numberDiff line numberDiff line change
@@ -419,10 +419,18 @@ poetry search requests pendulum
419419

420420
This command locks (without installing) the dependencies specified in `pyproject.toml`.
421421

422+
!!!note
423+
424+
By default, this will lock all dependencies to the latest available compatible versions. To only refresh the lock file, use the `--no-update` option.
425+
422426
```bash
423427
poetry lock
424428
```
425429

430+
### Options
431+
432+
* `--no-update`: Do not update locked versions, only refresh lock file.
433+
426434
## version
427435

428436
This command shows the current version of the project or bumps the version of

0 commit comments

Comments
 (0)