Fixing return code

This commit is contained in:
Alex Yatskov 2015-09-15 11:35:49 +09:00
parent 8f7e12f4ac
commit 80f0215d74

View File

@ -53,7 +53,7 @@ func main() {
args := flag.Args()
if len(args) < 2 {
flag.Usage()
os.Exit(-1)
os.Exit(2)
}
input, err := ioutil.ReadFile(args[0])