Skip to content

Commit

Permalink
Fix typo sh completion docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Nguyen committed Apr 26, 2022
1 parent b9460cc commit e691798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell_completions.md
Expand Up @@ -122,7 +122,7 @@ For example, if you want `kubectl get [tab][tab]` to show a list of valid "nouns
Some simplified code from `kubectl get` looks like:

```go
validArgs []string = { "pod", "node", "service", "replicationcontroller" }
validArgs = []string{ "pod", "node", "service", "replicationcontroller" }

cmd := &cobra.Command{
Use: "get [(-o|--output=)json|yaml|template|...] (RESOURCE [NAME] | RESOURCE/NAME ...)",
Expand Down

0 comments on commit e691798

Please sign in to comment.