Commit a4334c0f by Bendik Samseth Committed by Arun Babu Neelicattu

Change usage example for poetry export

The existing example:
```bash
poetry export -f requirements.txt > requirements.txt
```
The problem with this is that any additional output from poetry will also end up in the requirements file. For instance, if the `poetry.lock` file is not present, poetry will output to stdout some extra text telling you about this. This breaks the requirements file. (I was burned by this problem, hence this PR)

Seeing as there is already a documented option to specify the filename directly, which resolves this issue, updating the docs like this seems reasonable.
parent 455def65
...@@ -453,7 +453,7 @@ The table below illustrates the effect of these rules with concrete examples. ...@@ -453,7 +453,7 @@ The table below illustrates the effect of these rules with concrete examples.
This command exports the lock file to other formats. This command exports the lock file to other formats.
```bash ```bash
poetry export -f requirements.txt > requirements.txt poetry export -f requirements.txt --output requirements.txt
``` ```
!!!note !!!note
......
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