about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-22 20:22:06 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-22 20:22:06 +0200
commit66034207a6b98fb8e9b7a6b1f9d860731dc44743 (patch)
treef1065a7b1758e82e3d537ed8febeece12f1b93ef
parentfix(update): Propagate the logging options to the `update_raw.py` script (diff)
downloadyt-66034207a6b98fb8e9b7a6b1f9d860731dc44743.tar.gz
yt-66034207a6b98fb8e9b7a6b1f9d860731dc44743.zip
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.
Diffstat (limited to '')
-rw-r--r--src/cli.rs4
-rw-r--r--src/main.rs1
2 files changed, 0 insertions, 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<String>,
-
-        #[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?;