Don't ignore error.

This commit is contained in:
Chris Laprun
2018-11-27 10:16:46 +01:00
parent e8fe98d936
commit 6afbf7099d

View File

@@ -34,7 +34,8 @@ func main() {
}
// parse the flags - both the program's flags and the completion flags
flag.CommandLine.Parse([]string{})
err := flag.CommandLine.Parse([]string{})
util.CheckError(err, "")
// run the completion, in case that the completion was invoked
// and ran as a completion script or handled a flag that passed