From 51bbd90ab1f08c9056c4e5799e3abba568ae75c9 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 14 Jun 2025 12:38:22 +0200 Subject: 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. --- crates/yt/src/cli.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'crates') 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, - #[arg(short, long)] - /// The subscriptions to update (can be given multiple times) + /// The subscriptions to update subscriptions: Vec, }, -- cgit 1.4.1