💚 fix ci review unchecked function error

This commit is contained in:
Antoine 2020-06-01 22:19:22 +02:00
parent 6d9d5a0cc4
commit 07be211bca
No known key found for this signature in database
GPG Key ID: 098FB66FC0475E70

View File

@ -66,7 +66,10 @@ All Nodes of a k3d cluster are part of the same docker network.`,
if flags.version {
printVersion()
} else {
cmd.Usage()
if err := cmd.Usage(); err != nil {
log.Errorln(err)
os.Exit(1)
}
}
},
}