From 7ff4b9fd0e13bb44f2cb4ecd125da9a8f21f0460 Mon Sep 17 00:00:00 2001 From: Liam <33645555+lj3954@users.noreply.github.com> Date: Sat, 17 Aug 2024 11:27:46 -0700 Subject: [PATCH] fix: Remove unused 'compat' argument --- src/main.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/main.rs b/src/main.rs index 3deff4b3..0f3fb38f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -30,16 +30,13 @@ use tempdir::TempDir; // Linux utility toolbox #[derive(Debug, Parser)] struct Args { - /// Enable compatibility mode (disable icons and RGB colors) - #[arg(short, long, default_value_t = false)] - compat: bool, - #[arg(long, default_value_t = false)] - #[clap(help = "Show all available options, disregarding compatibility checks (UNSAFE)")] - override_validation: bool, #[arg(short, long, value_enum)] #[arg(default_value_t = Theme::Default)] #[arg(help = "Set the theme to use in the application")] theme: Theme, + #[arg(long, default_value_t = false)] + #[clap(help = "Show all available options, disregarding compatibility checks (UNSAFE)")] + override_validation: bool, } fn main() -> std::io::Result<()> {