From 4d8376fd3c6384bdb9fcfadcf513685eef057747 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Fri, 3 Aug 2018 21:12:55 +0200 Subject: hid: unify exit codes with the flag package --- hid/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hid') 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) -- cgit v1.2.3-70-g09d2