Added short form arg and fixed feault value

This commit is contained in:
VassiliDev 2021-08-17 06:34:38 -04:00
parent 6035e39c05
commit 6630edfebf
1 changed files with 2 additions and 1 deletions

View File

@ -177,8 +177,9 @@ fn main() -> Result<(), String> {
.help("Set a rotation threshold between 0 and 1")
.takes_value(true),
Arg::with_name("normalization-factor")
.default_value("6")
.default_value("1e6")
.long("normalization-factor")
.short("n")
.value_name("NORMALIZATION_FACTOR")
.help("Set factor for sensor value normalization")
.takes_value(true),