mirror of https://github.com/astral-sh/ruff
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
|
|
@ -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…
Reference in New Issue