summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index eb18be6..408094a 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -13,10 +13,9 @@ fn main() {
.author("Yuval Adam")
.about("A simple UPnP/DLNA casting player")
.arg(Arg::with_name("file")
- .short("f")
- .long("file")
.value_name("FILE")
.help("Media file to stream")
+ .index(1)
.required(true))
.get_matches();
//println!("\n{}", "Rustcast v0.1.0".color("blue").bold());