docs: fix ruff generate-shell-completion (#2904)

This commit is contained in:
Simon Legner 2023-02-14 23:38:29 +01:00 committed by GitHub
parent 4f927fbacc
commit 2d95912699
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -675,7 +675,7 @@ Ruff supports two command-line flags that alter its exit code behavior:
### Autocompletion ### Autocompletion
Ruff supports autocompletion for most shells. A shell-specific completion script can be generated Ruff supports autocompletion for most shells. A shell-specific completion script can be generated
by `ruff completion <SHELL>`, where `<SHELL>` is one of `bash`, `elvish`, `fig`, `fish`, by `ruff generate-shell-completion <SHELL>`, where `<SHELL>` is one of `bash`, `elvish`, `fig`, `fish`,
`powershell`, or `zsh`. `powershell`, or `zsh`.
The exact steps required to enable autocompletion will vary by shell. For example instructions, The exact steps required to enable autocompletion will vary by shell. For example instructions,