about summary refs log tree commit diff stats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 2bd7571..0f22c22 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -97,7 +97,10 @@ async fn main() -> Result<()> {
             let cmd = cmd.unwrap_or(SelectCommand::default());
 
             match cmd {
-                SelectCommand::File { done } => select::select(&app, done).await?,
+                SelectCommand::File {
+                    done,
+                    use_last_selection,
+                } => select::select(&app, done, use_last_selection).await?,
                 _ => handle_select_cmd(&app, cmd, None).await?,
             }
         }
@@ -115,7 +118,6 @@ async fn main() -> Result<()> {
                 dbg!(video);
             }
         },
-
         Command::Update {
             max_backlog,
             subscriptions,
@@ -135,7 +137,6 @@ async fn main() -> Result<()> {
 
             update::update(&app, max_backlog, subscriptions, verbosity).await?;
         }
-
         Command::Subscriptions { cmd } => match cmd {
             SubscriptionCommand::Add { name, url } => {
                 subscribe::subscribe(&app, name, url)