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

@@ -40,14 +40,14 @@ Deprecated: Gracefully shut down a resource by name or filename.
Deprecated: Gracefully shut down a resource by name or filename.
stop command is deprecated, all its functionalities are covered by delete command.
The stop command is deprecated, all its functionalities are covered by delete command.
See 'kubectl delete --help' for more details.
Attempts to shut down and delete a resource that supports graceful termination.
If the resource is scalable it will be scaled to 0 before deletion.
```
kubectl stop (-f FILENAME | RESOURCE (NAME | -l label | --all))
kubectl stop (-f FILENAME | TYPE (NAME | -l label | --all))
```
### Examples
@@ -112,7 +112,7 @@ $ kubectl stop -f path/to/resources
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
###### Auto generated by spf13/cobra at 2015-07-29 09:18:59.539597953 +0000 UTC
###### Auto generated by spf13/cobra at 2015-07-30 07:40:18.745881487 +0000 UTC
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->