mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-24 22:14:28 +00:00
fix: Remove unused 'compat' argument
This commit is contained in:
parent
3b87cfafdb
commit
7ff4b9fd0e
|
@ -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<()> {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user