diff --git a/.gitignore b/.gitignore index a6549e51..1a81e104 100644 --- a/.gitignore +++ b/.gitignore @@ -350,3 +350,6 @@ web/static/*.png # Local tmp directory .tmp/ tmp/ + +# Ignore .claude/ +.claude/ diff --git a/cmd/generate_changelog/main.go b/cmd/generate_changelog/main.go index 0678db76..30f683de 100644 --- a/cmd/generate_changelog/main.go +++ b/cmd/generate_changelog/main.go @@ -22,7 +22,7 @@ var rootCmd = &cobra.Command{ collects version information and pull requests, and generates a comprehensive changelog in markdown format.`, RunE: run, - SilenceUsage: true, // Don't show usage on errors + SilenceUsage: true, // Don't show usage on runtime errors, only on flag errors } func init() { @@ -94,8 +94,5 @@ func main() { } } - if err := rootCmd.Execute(); err != nil { - fmt.Fprintf(os.Stderr, "Error: %v\n", err) - os.Exit(1) - } + rootCmd.Execute() }