From b452b665dbed05eff9b1560b220fadf1138d9f1d Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Thu, 27 Jul 2023 18:14:47 +0200 Subject: [PATCH] videoplayer: add -start as an alias for -seek --- videoplayer/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/videoplayer/src/main.rs b/videoplayer/src/main.rs index d60f439..2389e1f 100644 --- a/videoplayer/src/main.rs +++ b/videoplayer/src/main.rs @@ -884,7 +884,7 @@ fn main() { "-ae" => { player.play_audio = true; }, "-vn" => { player.play_video = false; }, "-ve" => { player.play_video = true; }, - "-seek" => { + "-seek" | "-start" => { if let Some(arg) = aiter.next() { if let Ok(time) = arg.parse::() { seek_time = time; -- 2.39.5