Added short form arg and fixed feault value
This commit is contained in:
parent
6035e39c05
commit
6630edfebf
|
@ -177,8 +177,9 @@ fn main() -> Result<(), String> {
|
||||||
.help("Set a rotation threshold between 0 and 1")
|
.help("Set a rotation threshold between 0 and 1")
|
||||||
.takes_value(true),
|
.takes_value(true),
|
||||||
Arg::with_name("normalization-factor")
|
Arg::with_name("normalization-factor")
|
||||||
.default_value("6")
|
.default_value("1e6")
|
||||||
.long("normalization-factor")
|
.long("normalization-factor")
|
||||||
|
.short("n")
|
||||||
.value_name("NORMALIZATION_FACTOR")
|
.value_name("NORMALIZATION_FACTOR")
|
||||||
.help("Set factor for sensor value normalization")
|
.help("Set factor for sensor value normalization")
|
||||||
.takes_value(true),
|
.takes_value(true),
|
||||||
|
|
Loading…
Reference in New Issue