From 5d331e43bfc3044f9aa7427a09396f6099305a4f Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sat, 28 Jan 2023 04:36:14 +0100 Subject: [PATCH] fix: help text and env for --format option of explain subcommand The doc comment and the env attribute were copied by mistake. --- ruff_cli/src/args.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruff_cli/src/args.rs b/ruff_cli/src/args.rs index b43899b44f..edfa92b6be 100644 --- a/ruff_cli/src/args.rs +++ b/ruff_cli/src/args.rs @@ -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.