From 5cfe55ed5e8c22d0798e4d15af47361489982d0f Mon Sep 17 00:00:00 2001 From: Inhere Date: Sat, 31 Dec 2022 12:20:54 +0800 Subject: [PATCH] fix: not set default value for cmd/chlog --style --- cmd/chlog/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/chlog/main.go b/cmd/chlog/main.go index 3f6d604..54bc406 100644 --- a/cmd/chlog/main.go +++ b/cmd/chlog/main.go @@ -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(default)