From 29c2ec6113542d65b45fb6cb6897954f1ea225af Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 7 Oct 2024 19:34:07 +0200 Subject: fix(cli): Avoid having to interleave `sedowa` with dashes Otherwise the `sedowa` command would be `se-do-wa` --- src/cli.rs | 2 +- src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli.rs b/src/cli.rs index 60b0772..0dfd531 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -62,7 +62,7 @@ pub enum Command { }, /// Select, download and watch in one command. - SeDoWa {}, + Sedowa {}, /// Work with single videos Videos { diff --git a/src/main.rs b/src/main.rs index c5115ac..0961dd3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -107,7 +107,7 @@ async fn main() -> Result<()> { _ => handle_select_cmd(&app, cmd, None).await?, } } - Command::SeDoWa {} => { + Command::Sedowa {} => { select::select(&app, false, false).await?; let max_cache_size = app.config.download.max_cache_size; -- cgit 1.4.1