Skip to content

Commit 5cfe55e

Browse files
committed
fix: not set default value for cmd/chlog --style
1 parent 431aaff commit 5cfe55e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/chlog/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func configCmd() {
6565
cmd.StringVar(&opts.configFile, "config", "", "the YAML config file for generate changelog;;c")
6666
cmd.StringVar(&opts.outputFile, "output", "stdout", "the output file for generated changelog;;o")
6767
cmd.StringVar(&opts.excludes, "exclude", "", "exclude commit by keywords, multi split by comma")
68-
cmd.StringVar(&opts.style, "style", "simple", "the output contents format style\nallow: simple, markdown(mkdown,md), ghr(gh-release.gh);;s")
68+
cmd.StringVar(&opts.style, "style", "", "the output contents format style\nallow: simple, markdown(mkdown,md), ghr(gh-release.gh);;s")
6969
cmd.IntVar(&opts.tagType, "tag-type", 0, `get git tag name by tag type.
7070
Allowed:
7171
0 ref-name sort(<cyan>default</>)

0 commit comments

Comments
 (0)