From 7e72a433856eb8338148e2c49497adfa1711193b Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Mon, 9 Jul 2018 15:09:49 +0300 Subject: Add device arg --- src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 86d5b85..cc57376 100644 --- a/src/main.rs +++ b/src/main.rs @@ -15,6 +15,11 @@ fn main() { .version(env!("CARGO_PKG_VERSION")) .author("Yuval Adam") .about("A simple UPnP/DLNA casting player") + .arg(Arg::with_name("device") + .short("d") + .long("device") + .value_name("DEVICE") + .help("Target specific device address")) .arg(Arg::with_name("FILE") .value_name("FILE") .help("Media file to stream") -- cgit v1.3.1