about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-07 19:34:07 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-07 19:34:07 +0200
commit29c2ec6113542d65b45fb6cb6897954f1ea225af (patch)
treefb9a7299bc485d5dacc1ec2472bd3df6fd888788 /src
parentfix(crates/yt_dlp/wrappers/info_json): Add further info.json fields (diff)
downloadyt-29c2ec6113542d65b45fb6cb6897954f1ea225af.tar.gz
yt-29c2ec6113542d65b45fb6cb6897954f1ea225af.zip
fix(cli): Avoid having to interleave `sedowa` with dashes
Otherwise the `sedowa` command would be `se-do-wa`
Diffstat (limited to '')
-rw-r--r--src/cli.rs2
-rw-r--r--src/main.rs2
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;