Skip to content

Commit

Permalink
fix: not set default value for cmd/chlog --style
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Dec 31, 2022
1 parent 431aaff commit 5cfe55e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/chlog/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func configCmd() {
cmd.StringVar(&opts.configFile, "config", "", "the YAML config file for generate changelog;;c")
cmd.StringVar(&opts.outputFile, "output", "stdout", "the output file for generated changelog;;o")
cmd.StringVar(&opts.excludes, "exclude", "", "exclude commit by keywords, multi split by comma")
cmd.StringVar(&opts.style, "style", "simple", "the output contents format style\nallow: simple, markdown(mkdown,md), ghr(gh-release.gh);;s")
cmd.StringVar(&opts.style, "style", "", "the output contents format style\nallow: simple, markdown(mkdown,md), ghr(gh-release.gh);;s")
cmd.IntVar(&opts.tagType, "tag-type", 0, `get git tag name by tag type.
Allowed:
0 ref-name sort(<cyan>default</>)
Expand Down

0 comments on commit 5cfe55e

Please sign in to comment.