Use TYPE instead of RESOURCE in help string

For commands in kubectl, use TYPE in help string.
This commit is contained in:
hurf
2015-07-06 19:31:27 +08:00
parent 159ba48932
commit 33fb6170f9
21 changed files with 39 additions and 45 deletions

View File

@@ -46,7 +46,7 @@ scale is attempted, and it is guaranteed that the precondition holds true when t
scale is sent to the server.
```
kubectl scale [--resource-version=version] [--current-replicas=count] --replicas=COUNT RESOURCE NAME
kubectl scale [--resource-version=version] [--current-replicas=count] --replicas=COUNT TYPE NAME
```
### Examples
@@ -106,8 +106,7 @@ $ kubectl scale --replicas=5 rc/foo rc/bar
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
###### Auto generated by spf13/cobra at 2015-07-30 08:50:55.94117889 +0000 UTC
###### Auto generated by spf13/cobra at 2015-08-05 08:29:19.077655801 +0000 UTC
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/user-guide/kubectl/kubectl_scale.md?pixel)]()