hid: unify exit codes with the flag package
This commit is contained in:
parent
01c3933a07
commit
4d8376fd3c
|
@ -3290,7 +3290,7 @@ func main() {
|
||||||
}
|
}
|
||||||
if flag.NArg() > 0 {
|
if flag.NArg() > 0 {
|
||||||
flag.Usage()
|
flag.Usage()
|
||||||
os.Exit(1)
|
os.Exit(2)
|
||||||
}
|
}
|
||||||
|
|
||||||
config = make(simpleConfig)
|
config = make(simpleConfig)
|
||||||
|
|
Loading…
Reference in New Issue