Display the --preview option in the CLI help menu (#7274)

If we're going to warn on use of NURSERY in #7210 we probably ought to
show the `--preview` option in our help menus.
This commit is contained in:
Zanie Blue
2023-09-11 18:09:58 -05:00
committed by GitHub
parent 73ad2affa1
commit c21b960fc7
2 changed files with 3 additions and 1 deletions

View File

@@ -212,6 +212,8 @@ Options:
Specify file to write the linter output to (default: stdout)
--target-version <TARGET_VERSION>
The minimum Python version that should be supported [possible values: py37, py38, py39, py310, py311, py312]
--preview
Enable preview mode; checks will include unstable rules and fixes
--config <CONFIG>
Path to the `pyproject.toml` or `ruff.toml` file to use for configuration
--statistics