From 6def9f298c8fb26d086c1a7caf983763fe8f89d1 Mon Sep 17 00:00:00 2001 From: crapStone Date: Tue, 5 Oct 2021 14:12:22 +0200 Subject: [PATCH] fix help message --- src/cli.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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")