Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

Commit

Permalink
fix unexpected usage output caused by RunE (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
robbyt authored Apr 19, 2024
1 parent 2b8357a commit 762421d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ This is useful for:
PersistentPreRun: func(cmd *cobra.Command, args []string) {
cfg.SetLoggerLevel()
},
SilenceUsage: true,
}

// Execute adds all child commands to the root command and sets flags appropriately.
Expand Down

0 comments on commit 762421d

Please sign in to comment.