diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-22 20:22:06 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-22 20:22:06 +0200 |
commit | 66034207a6b98fb8e9b7a6b1f9d860731dc44743 (patch) | |
tree | f1065a7b1758e82e3d537ed8febeece12f1b93ef /src | |
parent | fix(update): Propagate the logging options to the `update_raw.py` script (diff) | |
download | yt-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 'src')
-rw-r--r-- | src/cli.rs | 4 | ||||
-rw-r--r-- | src/main.rs | 1 |
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?; |