remove print statement

This commit is contained in:
Rajat Jindal 2018-02-18 18:30:06 -08:00
parent ceddf29ec7
commit bbb85f0691

View file

@ -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 {