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:
Martin Fischer 2023-01-28 04:36:14 +01:00 committed by Charlie Marsh
parent ff3563b8ce
commit 5d331e43bf

View file

@ -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.