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, 5 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 28a0b38..57e711d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -102,8 +102,11 @@ async fn main() -> Result<()> {
             }
         }
         Command::Videos { cmd } => match cmd {
-            VideosCommand::List { search_query } => {
-                videos::query(&app, search_query)
+            VideosCommand::List {
+                search_query,
+                limit,
+            } => {
+                videos::query(&app, limit, search_query)
                     .await
                     .context("Failed to query videos")?;
             }