mirror of https://github.com/spf13/cobra.git
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
|
||||
}
|
||||
|
||||
// AddTemplateFuncs adds multiple template functions availalble to Usage and
|
||||
// AddTemplateFuncs adds multiple template functions that are available to Usage and
|
||||
// Help template generation.
|
||||
func AddTemplateFuncs(tmplFuncs template.FuncMap) {
|
||||
for k, v := range tmplFuncs {
|
||||
|
|
Loading…
Reference in New Issue