cmd exit 1 if err

This commit is contained in:
Boshi Lian 2019-01-15 12:47:34 +00:00
parent 7a5fb74ce4
commit 5e8e932d48

View file

@ -260,5 +260,8 @@ func main() {
}})
}
parser.Parse()
_, err := parser.Parse()
if err != nil {
os.Exit(1)
}
}