Skip to content

Commit

Permalink
Fix --help command when no subcommands are used
Browse files Browse the repository at this point in the history
  • Loading branch information
MacroPower committed Jun 17, 2021
1 parent fe48cf4 commit e44d49d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/grafana-image-renderer-cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func main() {
)
sequenceCommand.Parse(os.Args[2:])
default:
flag.PrintDefaults()
fmt.Println("image or sequence subcommand is required")
os.Exit(1)
}

Expand Down

0 comments on commit e44d49d

Please sign in to comment.