Commit a613347b by morpser Committed by GitHub

docs: fix example for --with option combined with --without (#6318)

The current "Managing Dependencies" documentation contains an error at
[Installing group dependencies](https://python-poetry.org/docs/managing-dependencies/#installing-group-dependencies)

Within the warning concerning the combined use of  `--with` and `--without` the parameters were swapped.

- [ ] Added **tests** for changed code.
- [x] Updated **documentation**

Co-authored-by: Philipp Quenzel <quenzel@dkms-lab.de>
Co-authored-by: finswimmer <finswimmer77@gmail.com>
parent 62cd1fae
......@@ -142,10 +142,10 @@ poetry install --with docs
{{% warning %}}
When used together, `--without` takes precedence over `--with`. For example, the following command
will only install the dependencies specified in the `test` group.
will only install the dependencies specified in the optional `test` group.
```bash
poetry install --with docs --without test,docs
poetry install --with test,docs --without docs
```
{{% /warning %}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment