about summary refs log tree commit diff stats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index a6766f6..a30dc24 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -64,6 +64,7 @@ async fn main() -> Result<()> {
             force,
             max_cache_size,
         } => {
+            let max_cache_size = max_cache_size.unwrap_or(app.config.download.max_cache_size);
             info!("max cache size: '{}'", max_cache_size);
 
             if force {
@@ -97,7 +98,9 @@ async fn main() -> Result<()> {
                 }
             }
 
-            update::update(&app, max_backlog, subscriptions, args.verbosity).await?;
+            let max_backlog = max_backlog.unwrap_or(app.config.update.max_backlog);
+
+            update::update(&app, max_backlog, subscriptions, verbosity).await?;
         }
 
         Command::Subscriptions { cmd } => match cmd {