hid: unify exit codes with the flag package

This commit is contained in:
Přemysl Eric Janouch 2018-08-03 21:12:55 +02:00
parent 01c3933a07
commit 4d8376fd3c
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -3290,7 +3290,7 @@ func main() {
}
if flag.NArg() > 0 {
flag.Usage()
os.Exit(1)
os.Exit(2)
}
config = make(simpleConfig)