about summary refs log tree commit diff stats
path: root/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 895cfc0..42b6378 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -227,6 +227,10 @@ pub enum SelectCommand {
         /// Include done (watched, dropped) videos
         #[arg(long, short)]
         done: bool,
+
+        /// Use the last selection file (useful if you've spend time on it and want to get it again)
+        #[arg(long, short, conflicts_with = "done")]
+        use_last_selection: bool,
     },
 
     /// Mark the video given by the hash to be watched
@@ -266,7 +270,10 @@ pub enum SelectCommand {
 }
 impl Default for SelectCommand {
     fn default() -> Self {
-        Self::File { done: false }
+        Self::File {
+            done: false,
+            use_last_selection: false,
+        }
     }
 }