We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 786f242 commit f7b7e08Copy full SHA for f7b7e08
1 file changed
main.go
@@ -53,7 +53,9 @@ var rootCmd = &cobra.Command{
53
}
54
55
func root(cmd *cobra.Command, _ []string) {
56
- cmd.Help()
+ if err := cmd.Help(); err != nil {
57
+ log.Fatalln("Failed to show help:", err)
58
+ }
59
60
61
func init() {
0 commit comments