aboutsummaryrefslogtreecommitdiff
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
commitffad1f15a58a6795fa978b97e928f099f44e9778 (patch)
treeacd835426aeba475e01c1b03d62485a85fc7ce90
parent765b741a678fe274ee496a9b5007835cc1359cdb (diff)
downloadxK-ffad1f15a58a6795fa978b97e928f099f44e9778.tar.gz
xK-ffad1f15a58a6795fa978b97e928f099f44e9778.tar.xz
xK-ffad1f15a58a6795fa978b97e928f099f44e9778.zip
hid: unify exit codes with the flag package
-rw-r--r--xS/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xS/main.go b/xS/main.go
index c8b007e..d2b44b7 100644
--- a/xS/main.go
+++ b/xS/main.go
@@ -3290,7 +3290,7 @@ func main() {
}
if flag.NArg() > 0 {
flag.Usage()
- os.Exit(1)
+ os.Exit(2)
}
config = make(simpleConfig)