fix: Remove unused 'compat' argument

This commit is contained in:
Liam 2024-08-17 11:27:46 -07:00
parent 3b87cfafdb
commit 7ff4b9fd0e
No known key found for this signature in database

View File

@ -30,16 +30,13 @@ use tempdir::TempDir;
// Linux utility toolbox // Linux utility toolbox
#[derive(Debug, Parser)] #[derive(Debug, Parser)]
struct Args { 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(short, long, value_enum)]
#[arg(default_value_t = Theme::Default)] #[arg(default_value_t = Theme::Default)]
#[arg(help = "Set the theme to use in the application")] #[arg(help = "Set the theme to use in the application")]
theme: Theme, 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<()> { fn main() -> std::io::Result<()> {