diff --git a/src/cli.rs b/src/cli.rs index fd665e2..44e3c0f 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -1,9 +1,9 @@ use clap::{App, Arg, ArgGroup, ArgMatches}; pub fn build_cli() -> App<'static, 'static> { - App::new("RS Light") - .version("1.0") - .author("crapStone ") + App::new("lamp") + .version(env!("CARGO_PKG_VERSION")) + .author("crapStone ") .about("Utility to interact with backlight") .arg( Arg::with_name("set")