mirror of https://github.com/knative/client.git
update the description of flag namespace (#419)
This commit is contained in:
parent
6ffef8dd88
commit
7a813be35e
|
|
@ -22,7 +22,7 @@ kn revision delete NAME [flags]
|
|||
|
||||
```
|
||||
-h, --help help for delete
|
||||
-n, --namespace string List the requested object(s) in given namespace.
|
||||
-n, --namespace string Specify the namespace to operate in.
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ kn revision describe NAME [flags]
|
|||
```
|
||||
--allow-missing-template-keys If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. (default true)
|
||||
-h, --help help for describe
|
||||
-n, --namespace string List the requested object(s) in given namespace.
|
||||
-n, --namespace string Specify the namespace to operate in.
|
||||
-o, --output string Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file. (default "yaml")
|
||||
--template string Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].
|
||||
```
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ kn revision list [name] [flags]
|
|||
-A, --all-namespaces If present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.
|
||||
--allow-missing-template-keys If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. (default true)
|
||||
-h, --help help for list
|
||||
-n, --namespace string List the requested object(s) in given namespace.
|
||||
-n, --namespace string Specify the namespace to operate in.
|
||||
--no-headers When using the default output format, don't print headers (default: print headers).
|
||||
-o, --output string Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file.
|
||||
-s, --service string Service name
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ kn route describe NAME [flags]
|
|||
```
|
||||
--allow-missing-template-keys If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. (default true)
|
||||
-h, --help help for describe
|
||||
-n, --namespace string List the requested object(s) in given namespace.
|
||||
-n, --namespace string Specify the namespace to operate in.
|
||||
-o, --output string Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file. (default "yaml")
|
||||
--template string Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].
|
||||
```
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ kn route list NAME [flags]
|
|||
-A, --all-namespaces If present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.
|
||||
--allow-missing-template-keys If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. (default true)
|
||||
-h, --help help for list
|
||||
-n, --namespace string List the requested object(s) in given namespace.
|
||||
-n, --namespace string Specify the namespace to operate in.
|
||||
--no-headers When using the default output format, don't print headers (default: print headers).
|
||||
-o, --output string Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file.
|
||||
--template string Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ kn service create NAME --image IMAGE [flags]
|
|||
--lock-to-digest keep the running image for the service constant when not explicitly specifying the image. (--no-lock-to-digest pulls the image tag afresh with each new revision) (default true)
|
||||
--max-scale int Maximal number of replicas.
|
||||
--min-scale int Minimal number of replicas.
|
||||
-n, --namespace string List the requested object(s) in given namespace.
|
||||
-n, --namespace string Specify the namespace to operate in.
|
||||
--no-lock-to-digest do not keep the running image for the service constant when not explicitly specifying the image. (--no-lock-to-digest pulls the image tag afresh with each new revision)
|
||||
-p, --port int32 The port where application listens on.
|
||||
--requests-cpu string The requested CPU (e.g., 250m).
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ kn service delete NAME [flags]
|
|||
|
||||
```
|
||||
-h, --help help for delete
|
||||
-n, --namespace string List the requested object(s) in given namespace.
|
||||
-n, --namespace string Specify the namespace to operate in.
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ kn service describe NAME [flags]
|
|||
```
|
||||
--allow-missing-template-keys If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. (default true)
|
||||
-h, --help help for describe
|
||||
-n, --namespace string List the requested object(s) in given namespace.
|
||||
-n, --namespace string Specify the namespace to operate in.
|
||||
-o, --output string Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file.
|
||||
--template string Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].
|
||||
-v, --verbose More output.
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ kn service list [name] [flags]
|
|||
-A, --all-namespaces If present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.
|
||||
--allow-missing-template-keys If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. (default true)
|
||||
-h, --help help for list
|
||||
-n, --namespace string List the requested object(s) in given namespace.
|
||||
-n, --namespace string Specify the namespace to operate in.
|
||||
--no-headers When using the default output format, don't print headers (default: print headers).
|
||||
-o, --output string Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file.
|
||||
--template string Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ kn service update NAME [flags]
|
|||
--lock-to-digest keep the running image for the service constant when not explicitly specifying the image. (--no-lock-to-digest pulls the image tag afresh with each new revision) (default true)
|
||||
--max-scale int Maximal number of replicas.
|
||||
--min-scale int Minimal number of replicas.
|
||||
-n, --namespace string List the requested object(s) in given namespace.
|
||||
-n, --namespace string Specify the namespace to operate in.
|
||||
--no-lock-to-digest do not keep the running image for the service constant when not explicitly specifying the image. (--no-lock-to-digest pulls the image tag afresh with each new revision)
|
||||
-p, --port int32 The port where application listens on.
|
||||
--requests-cpu string The requested CPU (e.g., 250m).
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ func AddNamespaceFlags(flags *pflag.FlagSet, allowAll bool) {
|
|||
"namespace",
|
||||
"n",
|
||||
"",
|
||||
"List the requested object(s) in given namespace.",
|
||||
"Specify the namespace to operate in.",
|
||||
)
|
||||
|
||||
if allowAll {
|
||||
|
|
|
|||
Loading…
Reference in New Issue