Skip to content

Commit

Permalink
Un-hide the ruff format command (#8167)
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Oct 24, 2023
1 parent 2e81b9c commit c3dabc1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions crates/ruff_cli/src/args.rs
Expand Up @@ -67,8 +67,6 @@ pub enum Command {
#[clap(alias = "--generate-shell-completion", hide = true)]
GenerateShellCompletion { shell: clap_complete_command::Shell },
/// Run the Ruff formatter on the given files or directories.
#[doc(hidden)]
#[clap(hide = true)]
Format(FormatCommand),
/// Display Ruff's version
Version {
Expand Down
1 change: 1 addition & 0 deletions docs/configuration.md
Expand Up @@ -251,6 +251,7 @@ Commands:
config List or describe the available configuration options
linter List all supported upstream linters
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
help Print this message or the help of the given subcommand(s)
Expand Down

0 comments on commit c3dabc1

Please sign in to comment.