fix: return 1 on CLI misusage (#2087)

This commit is contained in:
Elio Bischof 2021-09-23 11:38:35 +02:00 committed by GitHub
parent c8d59ee488
commit a17a6263b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,6 +42,7 @@ func main() {
)
if err := rootCmd.Execute(); err != nil {
monitor.Error(mntr.ToUserError(err))
os.Exit(1)
}
}