diff options
author | Přemysl Janouch <p@janouch.name> | 2018-08-03 21:12:55 +0200 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2018-08-03 21:45:53 +0200 |
commit | 4d8376fd3c6384bdb9fcfadcf513685eef057747 (patch) | |
tree | a2fa1682c867079248263306df52201853c74120 /hid/main.go | |
parent | 01c3933a073a54d709e647c0a8d3407ae408d7ea (diff) | |
download | haven-4d8376fd3c6384bdb9fcfadcf513685eef057747.tar.gz haven-4d8376fd3c6384bdb9fcfadcf513685eef057747.tar.xz haven-4d8376fd3c6384bdb9fcfadcf513685eef057747.zip |
hid: unify exit codes with the flag package
Diffstat (limited to 'hid/main.go')
-rw-r--r-- | hid/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hid/main.go b/hid/main.go index c8b007e..d2b44b7 100644 --- a/hid/main.go +++ b/hid/main.go @@ -3290,7 +3290,7 @@ func main() { } if flag.NArg() > 0 { flag.Usage() - os.Exit(1) + os.Exit(2) } config = make(simpleConfig) |