Skip to content

Commit

Permalink
Fix typo sh completion docs
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldn authored and Daniel Nguyen committed Apr 26, 2022
1 parent b9460cc commit c8c4ae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell_completions.md
Original file line number Diff line number Diff line change
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 c8c4ae0

Please sign in to comment.