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

@@ -20,10 +20,10 @@ This command joins many API calls together to form a detailed description of a
given resource or group of resources.
.PP
$ kubectl describe RESOURCE NAME\_PREFIX
$ kubectl describe TYPE NAME\_PREFIX
.PP
will first check for an exact match on RESOURCE and NAME\_PREFIX. If no such resource
will first check for an exact match on TYPE and NAME\_PREFIX. If no such resource
exists, it will output details for every resource that has a name prefixed with NAME\_PREFIX
.PP

View File

@@ -16,7 +16,7 @@ kubectl get \- Display one or many resources
Display one or many resources.
.PP
Possible resources include (case insensitive): pods (po), services (svc),
Possible resource types include (case insensitive): pods (po), services (svc),
replicationcontrollers (rc), nodes (no), events (ev), componentstatuses (cs),
limitranges (limits), persistentvolumes (pv), persistentvolumeclaims (pvc),
resourcequotas (quota), namespaces (ns), endpoints (ep) or secrets.

View File

@@ -16,7 +16,7 @@ kubectl stop \- Deprecated: Gracefully shut down a resource by name or filename.
Deprecated: Gracefully shut down a resource by name or filename.
.PP
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.
.PP