From 66034207a6b98fb8e9b7a6b1f9d860731dc44743 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 22 Aug 2024 20:22:06 +0200 Subject: refactor(cli): Remove the useless `concurrent_processes` flag from `update` With the new `update_raw.py` script, supporting this flag becomes nearly impossible. Thus, we're simply removing it. --- src/cli.rs | 4 ---- src/main.rs | 1 - 2 files changed, 5 deletions(-) diff --git a/src/cli.rs b/src/cli.rs index 34a98a6..ba92be3 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -94,10 +94,6 @@ pub enum Command { #[arg(short, long)] /// The subscriptions to update (can be given multiple times) subscriptions: Vec, - - #[arg(short, long, default_value = "6")] - /// How many processes to spawn at the same time - concurrent_processes: usize, }, /// Manipulate subscription diff --git a/src/main.rs b/src/main.rs index 53cfc9e..3852b8e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -82,7 +82,6 @@ async fn main() -> Result<()> { Command::Update { max_backlog, subscriptions, - concurrent_processes, } => { let all_subs = get_subscriptions(&app).await?; -- cgit 1.4.1