Skip to content

Commit

Permalink
Fixed code sample for bash completion (#687)
Browse files Browse the repository at this point in the history
  • Loading branch information
zefhemel authored and eparis committed Apr 27, 2018
1 parent 0ab5b6b commit ef82de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bash_completions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ef82de7

Please sign in to comment.