Skip to content
Myr

Fix typo in docstring (#360)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Théotime Lévêque · committed by Albert Nigmatzianov · parent 0a0df1e · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:cobra.go+1 added-1 removed
50 unmodified lines
51func AddTemplateFunc(name string, tmplFunc interface{}) {52 templateFuncs[name] = tmplFunc53}5455// AddTemplateFuncs adds multiple template functions availalble to Usage and55// AddTemplateFuncs adds multiple template functions that are available to Usage and56// Help template generation.57func AddTemplateFuncs(tmplFuncs template.FuncMap) {58 for k, v := range tmplFuncs {59 templateFuncs[k] = v
115 unmodified lines