hid: unify exit codes with the flag package
This commit is contained in:
parent
765b741a67
commit
ffad1f15a5
|
@ -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