mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 18:28:24 +00:00
fix: help text and env for --format option of explain subcommand
The doc comment and the env attribute were copied by mistake.
This commit is contained in:
parent
ff3563b8ce
commit
5d331e43bf
1 changed files with 2 additions and 2 deletions
|
@ -37,8 +37,8 @@ pub enum Command {
|
|||
#[arg(value_parser=Rule::from_code)]
|
||||
rule: &'static Rule,
|
||||
|
||||
/// Output serialization format for violations.
|
||||
#[arg(long, value_enum, env = "RUFF_FORMAT", default_value = "text")]
|
||||
/// Output format
|
||||
#[arg(long, value_enum, default_value = "text")]
|
||||
format: HelpFormat,
|
||||
},
|
||||
/// Clear any caches in the current directory and any subdirectories.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue