diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-14 12:38:22 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-14 12:38:22 +0200 |
commit | 51bbd90ab1f08c9056c4e5799e3abba568ae75c9 (patch) | |
tree | 9a0344a530efb6edb1e0ba5850ff622a3b951d13 | |
parent | feat({yt/update,yt_dlp}): Use yt_dlp errors again (diff) | |
download | yt-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.
-rw-r--r-- | crates/yt/src/cli.rs | 5 |
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>, }, |