Skip to content

Commit c3dabc1

Browse files
Un-hide the ruff format command (#8167)
1 parent 2e81b9c commit c3dabc1

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

crates/ruff_cli/src/args.rs

-2
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ pub enum Command {
6767
#[clap(alias = "--generate-shell-completion", hide = true)]
6868
GenerateShellCompletion { shell: clap_complete_command::Shell },
6969
/// Run the Ruff formatter on the given files or directories.
70-
#[doc(hidden)]
71-
#[clap(hide = true)]
7270
Format(FormatCommand),
7371
/// Display Ruff's version
7472
Version {

docs/configuration.md

+1
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ Commands:
251251
config List or describe the available configuration options
252252
linter List all supported upstream linters
253253
clean Clear any caches in the current directory and any subdirectories
254+
format Run the Ruff formatter on the given files or directories
254255
version Display Ruff's version
255256
help Print this message or the help of the given subcommand(s)
256257

0 commit comments

Comments
 (0)