Skip to content

Commit

Permalink
Merge pull request #33 from gardener/fix-help
Browse files Browse the repository at this point in the history
Fix template title
  • Loading branch information
mandelsoft authored Jul 28, 2022
2 parents 2269e60 + 4bf4531 commit de90dcf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmds/ocm/pkg/cobrautils/funcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ import (
"strings"

"golang.org/x/text/cases"
"golang.org/x/text/language"
)

var templatefuncs = map[string]interface{}{
"indent": indent,
"skipCommand": skipCommand,
"soleCommand": soleCommand,
"title": cases.Title,
"title": cases.Title(language.English).String,
}

func soleCommand(s string) bool {
Expand Down

0 comments on commit de90dcf

Please sign in to comment.