diff --git a/src/tv.rs b/src/tv.rs index 84a0837..3188253 100644 --- a/src/tv.rs +++ b/src/tv.rs @@ -1,11 +1,15 @@ -use clap::{Arg, App}; +#[macro_use] +extern crate clap; + +use clap::{Arg, App, AppSettings}; use tvrs::MultiScreen; fn main() { - let matches = App::new("tvrs") - .author("Thomas Forgione ") - .version("0.1.0") + let matches = App::new(crate_name!()) + .author(crate_authors!(" ")) + .version(crate_version!()) + .setting(AppSettings::ColoredHelp) .arg(Arg::with_name("action") .help("Action to do") .takes_value(true)