feat: make InitDefaultCompletionCmd public (#1467)

* feat: make InitDefaultCompletionCmd public

* PR comments

* Update man_docs_test.go

* Update README.md
This commit is contained in:
Gustavo Bazan
2022-10-11 00:06:30 +01:00
committed by GitHub
parent 2169adb574
commit 860791844e
3 changed files with 8 additions and 3 deletions

View File

@ -996,7 +996,7 @@ func (c *Command) ExecuteC() (cmd *Command, err error) {
// initialize help at the last point to allow for user overriding
c.InitDefaultHelpCmd()
// initialize completion at the last point to allow for user overriding
c.initDefaultCompletionCmd()
c.InitDefaultCompletionCmd()
args := c.args