From ee8d2f70c2fa3a585f4891dbcb8f1c097e6ca4fd Mon Sep 17 00:00:00 2001 From: Sreehari Anil Date: Thu, 17 Sep 2026 21:54:05 +0530 Subject: [PATCH] fix(cli): remove duplicate img subcomand --- wallr-core/src/cli/mod.rs | 18 ------------------ wallr/src/main.rs | 11 +---------- 2 files changed, 1 insertion(+), 28 deletions(-) diff --git a/wallr-core/src/cli/mod.rs b/wallr-core/src/cli/mod.rs index cdc8c11..b84e823 100644 --- a/wallr-core/src/cli/mod.rs +++ b/wallr-core/src/cli/mod.rs @@ -180,24 +180,6 @@ pub enum Commands { effect_args: EffectArgs, }, - /// Alias for `set` - #[command(hide = true)] - Img { - path: PathBuf, - #[arg(long)] - animation: Option, - #[arg(short = 'm', long)] - monitor: Option, - #[arg(long, value_enum)] - mode: Option, - #[arg(long)] - no_theme: bool, - #[arg(short = 't', long, value_enum)] - theme: Option, - #[command(flatten)] - effect_args: EffectArgs, - }, - /// Run system and dependency diagnostics Doctor, diff --git a/wallr/src/main.rs b/wallr/src/main.rs index eafcf06..e30923a 100644 --- a/wallr/src/main.rs +++ b/wallr/src/main.rs @@ -107,16 +107,7 @@ async fn async_main() -> Result<()> { let config = config::load_config(config_path)?; match cli.command { - Commands::Img { - path, - no_theme, - theme, - monitor, - animation, - mode, - effect_args, - } - | Commands::Set { + Commands::Set { path, no_theme, theme,