mirror of
https://github.com/spf13/cobra
synced 2025-05-05 21:07:24 +00:00
remove print statement
This commit is contained in:
parent
ceddf29ec7
commit
bbb85f0691
1 changed files with 0 additions and 1 deletions
|
@ -473,7 +473,6 @@ func gen(buf *bytes.Buffer, cmd *Command) {
|
||||||
|
|
||||||
// GenBashCompletion generates bash completion file and writes to the passed writer.
|
// GenBashCompletion generates bash completion file and writes to the passed writer.
|
||||||
func (c *Command) GenBashCompletion(w io.Writer) error {
|
func (c *Command) GenBashCompletion(w io.Writer) error {
|
||||||
fmt.Println("called")
|
|
||||||
buf := new(bytes.Buffer)
|
buf := new(bytes.Buffer)
|
||||||
writePreamble(buf, c.Name())
|
writePreamble(buf, c.Name())
|
||||||
if len(c.BashCompletionFunction) > 0 {
|
if len(c.BashCompletionFunction) > 0 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue