diff --git a/docs/cmd/kn_revision_delete.md b/docs/cmd/kn_revision_delete.md index b0932ebf9..1a46f6582 100644 --- a/docs/cmd/kn_revision_delete.md +++ b/docs/cmd/kn_revision_delete.md @@ -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 diff --git a/docs/cmd/kn_revision_describe.md b/docs/cmd/kn_revision_describe.md index fa2501291..75c21cbb0 100644 --- a/docs/cmd/kn_revision_describe.md +++ b/docs/cmd/kn_revision_describe.md @@ -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]. ``` diff --git a/docs/cmd/kn_revision_list.md b/docs/cmd/kn_revision_list.md index 6baeec120..9154fb447 100644 --- a/docs/cmd/kn_revision_list.md +++ b/docs/cmd/kn_revision_list.md @@ -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 diff --git a/docs/cmd/kn_route_describe.md b/docs/cmd/kn_route_describe.md index daee6a0f1..99a3e46cc 100644 --- a/docs/cmd/kn_route_describe.md +++ b/docs/cmd/kn_route_describe.md @@ -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]. ``` diff --git a/docs/cmd/kn_route_list.md b/docs/cmd/kn_route_list.md index 9771f0b63..65170c815 100644 --- a/docs/cmd/kn_route_list.md +++ b/docs/cmd/kn_route_list.md @@ -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]. diff --git a/docs/cmd/kn_service_create.md b/docs/cmd/kn_service_create.md index 7af15a9ce..96bda931d 100644 --- a/docs/cmd/kn_service_create.md +++ b/docs/cmd/kn_service_create.md @@ -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). diff --git a/docs/cmd/kn_service_delete.md b/docs/cmd/kn_service_delete.md index 93f34773e..c778fe4d4 100644 --- a/docs/cmd/kn_service_delete.md +++ b/docs/cmd/kn_service_delete.md @@ -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 diff --git a/docs/cmd/kn_service_describe.md b/docs/cmd/kn_service_describe.md index 03b9c5ff3..1841c9efe 100644 --- a/docs/cmd/kn_service_describe.md +++ b/docs/cmd/kn_service_describe.md @@ -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. diff --git a/docs/cmd/kn_service_list.md b/docs/cmd/kn_service_list.md index a3c24b6df..7b416dbd6 100644 --- a/docs/cmd/kn_service_list.md +++ b/docs/cmd/kn_service_list.md @@ -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]. diff --git a/docs/cmd/kn_service_update.md b/docs/cmd/kn_service_update.md index 425062a70..d06811548 100644 --- a/docs/cmd/kn_service_update.md +++ b/docs/cmd/kn_service_update.md @@ -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). diff --git a/pkg/kn/commands/namespaced.go b/pkg/kn/commands/namespaced.go index 4e37c3a6f..e957de5cb 100644 --- a/pkg/kn/commands/namespaced.go +++ b/pkg/kn/commands/namespaced.go @@ -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 {