aboutsummaryrefslogtreecommitdiff
path: root/hid
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-08-03 21:12:55 +0200
committerPřemysl Janouch <p@janouch.name>2018-08-03 21:45:53 +0200
commit4d8376fd3c6384bdb9fcfadcf513685eef057747 (patch)
treea2fa1682c867079248263306df52201853c74120 /hid
parent01c3933a073a54d709e647c0a8d3407ae408d7ea (diff)
downloadhaven-4d8376fd3c6384bdb9fcfadcf513685eef057747.tar.gz
haven-4d8376fd3c6384bdb9fcfadcf513685eef057747.tar.xz
haven-4d8376fd3c6384bdb9fcfadcf513685eef057747.zip
hid: unify exit codes with the flag package
Diffstat (limited to 'hid')
-rw-r--r--hid/main.go2
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)