mirror of
https://github.com/spf13/cobra
synced 2024-11-24 22:57:12 +00:00
Remove useless duplicate import
This commit is contained in:
parent
69578f24ad
commit
1548134ccb
1 changed files with 1 additions and 2 deletions
|
@ -21,7 +21,6 @@ import (
|
|||
"sync"
|
||||
|
||||
"github.com/spf13/pflag"
|
||||
flag "github.com/spf13/pflag"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -185,7 +184,7 @@ func (c *Command) initializeCompletionStorage() {
|
|||
}
|
||||
|
||||
if c.flagCompletionFunctions == nil {
|
||||
c.flagCompletionFunctions = make(map[*flag.Flag]func(cmd *Command, args []string, toComplete string) ([]string, ShellCompDirective), 0)
|
||||
c.flagCompletionFunctions = make(map[*pflag.Flag]func(cmd *Command, args []string, toComplete string) ([]string, ShellCompDirective), 0)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue