summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs5
1 files changed, 5 insertions, 0 deletions
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")