Skip to content

Commit

Permalink
fix(cli): show help when run changeloguru generate
Browse files Browse the repository at this point in the history
  • Loading branch information
haunt98 committed Jan 15, 2024
1 parent 92c2886 commit 057a0e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cli/action_generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func (a *action) RunGenerate(c *cli.Context) error {

// Show help if there is no flags
if c.NumFlags() == 0 {
return cli.ShowCommandHelp(c, commandGenerateName)
return cli.ShowSubcommandHelp(c)
}

useLatestTag := false
Expand Down

0 comments on commit 057a0e5

Please sign in to comment.