Skip to content

Commit

Permalink
kubectl get format is specified with -o, not -f
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedanese committed Nov 22, 2014
1 parent 4c5a7e5 commit 39bdee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kubectl/cmd/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Examples:
$ kubectl get replicationController 1234-56-7890-234234-456456
<list single replication controller in ps output format>
$ kubectl get -f json pod 1234-56-7890-234234-456456
$ kubectl get -o json pod 1234-56-7890-234234-456456
<list single pod in json output format>`,
Run: func(cmd *cobra.Command, args []string) {
mapping, namespace, name := ResourceOrTypeFromArgs(cmd, args, f.Mapper)
Expand Down

0 comments on commit 39bdee3

Please sign in to comment.