mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-10 01:14:49 +00:00
fix: return 1 on CLI misusage (#2087)
This commit is contained in:
@@ -42,6 +42,7 @@ func main() {
|
|||||||
)
|
)
|
||||||
|
|
||||||
if err := rootCmd.Execute(); err != nil {
|
if err := rootCmd.Execute(); err != nil {
|
||||||
|
monitor.Error(mntr.ToUserError(err))
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user