Fix typo in docstring (#360)
This commit is contained in:
parent
0a0df1e881
commit
b6cb395893
2
cobra.go
2
cobra.go
@ -52,7 +52,7 @@ func AddTemplateFunc(name string, tmplFunc interface{}) {
|
|||||||
templateFuncs[name] = tmplFunc
|
templateFuncs[name] = tmplFunc
|
||||||
}
|
}
|
||||||
|
|
||||||
// AddTemplateFuncs adds multiple template functions availalble to Usage and
|
// AddTemplateFuncs adds multiple template functions that are available to Usage and
|
||||||
// Help template generation.
|
// Help template generation.
|
||||||
func AddTemplateFuncs(tmplFuncs template.FuncMap) {
|
func AddTemplateFuncs(tmplFuncs template.FuncMap) {
|
||||||
for k, v := range tmplFuncs {
|
for k, v := range tmplFuncs {
|
||||||
|
Loading…
Reference in New Issue
Block a user