From 1f9af4957343741e1181e2ea3a690dff9d40ed6b Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Mon, 9 Jul 2018 17:58:04 +0300 Subject: Add --subtitles flag --- src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index cc57376..b5ea027 100644 --- a/src/main.rs +++ b/src/main.rs @@ -20,6 +20,11 @@ fn main() { .long("device") .value_name("DEVICE") .help("Target specific device address")) + .arg(Arg::with_name("subtitles") + .short("s") + .long("subtitles") + .value_name("SUBTITLES") + .help("Subtitles file to use with the video")) .arg(Arg::with_name("FILE") .value_name("FILE") .help("Media file to stream") -- cgit v1.3.1