summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 3db18f7..d05f302 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -7,11 +7,10 @@ use std::path::Path;
use std::process;
mod cli;
-mod upnp;
fn main() {
- let app = App::new("Rustcast")
- .version("0.1")
+ let app = App::new(env!("CARGO_PKG_NAME"))
+ .version(env!("CARGO_PKG_VERSION"))
.author("Yuval Adam")
.about("A simple UPnP/DLNA casting player")
.arg(Arg::with_name("FILE")