aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-14 12:38:22 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-14 12:38:22 +0200
commit51bbd90ab1f08c9056c4e5799e3abba568ae75c9 (patch)
tree9a0344a530efb6edb1e0ba5850ff622a3b951d13
parentfeat({yt/update,yt_dlp}): Use yt_dlp errors again (diff)
downloadyt-51bbd90ab1f08c9056c4e5799e3abba568ae75c9.zip
feat(yt/update): Specify subscriptions to update as positional args
Having the `-s/--subscription` flag is pointless, as there are no other flags that could make a positional arg ambiguous.
Diffstat (limited to '')
-rw-r--r--crates/yt/src/cli.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/crates/yt/src/cli.rs b/crates/yt/src/cli.rs
index de7a5b8..11346b4 100644
--- a/crates/yt/src/cli.rs
+++ b/crates/yt/src/cli.rs
@@ -123,12 +123,11 @@ pub enum Command {
/// Update the video database
Update {
+ /// The maximal number of videos to fetch for each subscription.
#[arg(short, long)]
- /// The number of videos to updating
max_backlog: Option<usize>,
- #[arg(short, long)]
- /// The subscriptions to update (can be given multiple times)
+ /// The subscriptions to update
subscriptions: Vec<String>,
},