mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +00:00
Fix typo in docstring (#360)
This commit is contained in:
parent
0a0df1e881
commit
b6cb395893
1 changed files with 1 additions and 1 deletions
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 a new issue