update vendor, fix #788

This commit is contained in:
fatedier
2018-05-21 21:09:18 +08:00
parent 2e497274ba
commit 490019fb51
7 changed files with 55 additions and 8 deletions

View File

@@ -181,7 +181,7 @@ a custom flag completion function with cobra.BashCompCustom:
```go
annotation := make(map[string][]string)
annotation[cobra.BashCompFilenameExt] = []string{"__kubectl_get_namespaces"}
annotation[cobra.BashCompCustom] = []string{"__kubectl_get_namespaces"}
flag := &pflag.Flag{
Name: "namespace",