diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-07 19:34:07 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-07 19:34:07 +0200 |
commit | 29c2ec6113542d65b45fb6cb6897954f1ea225af (patch) | |
tree | fb9a7299bc485d5dacc1ec2472bd3df6fd888788 | |
parent | fix(crates/yt_dlp/wrappers/info_json): Add further info.json fields (diff) | |
download | yt-29c2ec6113542d65b45fb6cb6897954f1ea225af.tar.gz yt-29c2ec6113542d65b45fb6cb6897954f1ea225af.zip |
fix(cli): Avoid having to interleave `sedowa` with dashes
Otherwise the `sedowa` command would be `se-do-wa`
-rw-r--r-- | src/cli.rs | 2 | ||||
-rw-r--r-- | 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; |