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
7 changes: 7 additions & 0 deletions docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -1390,6 +1390,13 @@ You can do this using the `add` command.
* `--lock` : Do not perform install (only update the lockfile).
* `--sync`: Synchronize the environment with the locked packages and the specified groups.

{{% note %}}
The group options determine which dependency groups are installed or synchronized in the
environment. They do not limit resolution of the lock file: `poetry.lock` keeps one consistent
solution for all declared groups, so packages that belong to an excluded group can still change.
To restrict which packages Poetry updates, pass their names to the command.
{{% /note %}}

{{% note %}}
When `--only` is specified, `--with` and `--without` options are ignored.
{{% /note %}}
Expand Down
Loading