diff --git a/chglog.go b/chglog.go index ac4e4f61..6a2be6aa 100644 --- a/chglog.go +++ b/chglog.go @@ -21,7 +21,7 @@ type Options struct { CommitGroupSortBy string // Property name to use for sorting `CommitGroup` (e.g. `Title`) CommitGroupTitleMaps map[string]string // Map for `CommitGroup` title conversion HeaderPattern string // A regular expression to use for parsing the commit header - HeaderPatternMaps []string // A rule for mapping the result of `HeaderPattern` to the property of` Commit` + HeaderPatternMaps []string // A rule for mapping the result of `HeaderPattern` to the property of `Commit` IssuePrefix []string // Prefix used for issues (e.g. `#`, `gh-`) RefActions []string // Word list of `Ref.Action` MergePattern string // A regular expression to use for parsing the merge commit diff --git a/cmd/git-chglog/cli.go b/cmd/git-chglog/cli.go index f1d62c08..c370f952 100644 --- a/cmd/git-chglog/cli.go +++ b/cmd/git-chglog/cli.go @@ -76,7 +76,7 @@ func (c *CLI) Run() int { return ExitCodeError } - c.logger.Log(fmt.Sprintf(":sparkles:Generate of %s is completed! (%s)", + c.logger.Log(fmt.Sprintf(":sparkles: Generate of %s is completed! (%s)", color.GreenString("\""+c.ctx.OutputPath+"\""), color.New(color.Bold).SprintFunc()(time.Since(start).String()), )) diff --git a/cmd/git-chglog/initializer.go b/cmd/git-chglog/initializer.go index 44ee2c54..19946b39 100644 --- a/cmd/git-chglog/initializer.go +++ b/cmd/git-chglog/initializer.go @@ -34,7 +34,7 @@ var ( } tplStandard = "standard" - tplCool = "rich" + tplCool = "cool" templateStyles = []string{ tplStandard, tplCool,