From b9ec8b3c4643c36491ba94e48e6b957828c850cb Mon Sep 17 00:00:00 2001 From: Ritikaa96 Date: Thu, 30 May 2024 11:53:02 +0530 Subject: [PATCH] correcting description as per review Signed-off-by: Ritikaa96 --- staging/src/k8s.io/kubectl/pkg/cmd/get/get.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/staging/src/k8s.io/kubectl/pkg/cmd/get/get.go b/staging/src/k8s.io/kubectl/pkg/cmd/get/get.go index 0db7cb75436..a1bc13cb1a5 100644 --- a/staging/src/k8s.io/kubectl/pkg/cmd/get/get.go +++ b/staging/src/k8s.io/kubectl/pkg/cmd/get/get.go @@ -91,8 +91,8 @@ var ( Prints a table of the most important information about the specified resources. You can filter the list using a label selector and the --selector flag. If the - desired resource type is namespaced you will only see results in other namespaces - by passing --namespace(for specific namespace) or --all-namespaces. + desired resource type is namespaced you will only see results in the current + namespace if you don't specify any namespace. By specifying the output as 'template' and providing a Go template as the value of the --template flag, you can filter the attributes of the fetched resources.`))