Skip to content

Commit f7b7e08

Browse files
committed
chore: make linter happy once more
1 parent 786f242 commit f7b7e08

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

main.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ var rootCmd = &cobra.Command{
5353
}
5454

5555
func root(cmd *cobra.Command, _ []string) {
56-
cmd.Help()
56+
if err := cmd.Help(); err != nil {
57+
log.Fatalln("Failed to show help:", err)
58+
}
5759
}
5860

5961
func init() {

0 commit comments

Comments
 (0)