mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 06:42:02 +00:00
Un-hide the ruff format
command (#8167)
This commit is contained in:
parent
2e81b9c391
commit
c3dabc1933
2 changed files with 1 additions and 2 deletions
|
@ -67,8 +67,6 @@ pub enum Command {
|
||||||
#[clap(alias = "--generate-shell-completion", hide = true)]
|
#[clap(alias = "--generate-shell-completion", hide = true)]
|
||||||
GenerateShellCompletion { shell: clap_complete_command::Shell },
|
GenerateShellCompletion { shell: clap_complete_command::Shell },
|
||||||
/// Run the Ruff formatter on the given files or directories.
|
/// Run the Ruff formatter on the given files or directories.
|
||||||
#[doc(hidden)]
|
|
||||||
#[clap(hide = true)]
|
|
||||||
Format(FormatCommand),
|
Format(FormatCommand),
|
||||||
/// Display Ruff's version
|
/// Display Ruff's version
|
||||||
Version {
|
Version {
|
||||||
|
|
|
@ -251,6 +251,7 @@ Commands:
|
||||||
config List or describe the available configuration options
|
config List or describe the available configuration options
|
||||||
linter List all supported upstream linters
|
linter List all supported upstream linters
|
||||||
clean Clear any caches in the current directory and any subdirectories
|
clean Clear any caches in the current directory and any subdirectories
|
||||||
|
format Run the Ruff formatter on the given files or directories
|
||||||
version Display Ruff's version
|
version Display Ruff's version
|
||||||
help Print this message or the help of the given subcommand(s)
|
help Print this message or the help of the given subcommand(s)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue