mirror of
https://github.com/Graylog2/graylog-project-cli.git
synced 2026-03-13 08:02:57 +08:00
Don't print usage for project render errors
This commit is contained in:
@@ -61,9 +61,6 @@ func projectChangelogRenderCommand(cmd *cobra.Command, args []string) {
|
||||
|
||||
if err := execChangelogRenderCommand(snippetsPaths); err != nil {
|
||||
logger.Error(err.Error())
|
||||
if err := cmd.UsageFunc()(cmd); err != nil {
|
||||
logger.Fatal(err.Error())
|
||||
}
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user