From 33e55a78e0f24f40d4d99ca17f4f15a7bc92fbc4 Mon Sep 17 00:00:00 2001 From: shravan Date: Sun, 26 Jan 2020 19:44:18 +0530 Subject: [PATCH] 536 corrected helper text --- pkg/kyverno/apply/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kyverno/apply/command.go b/pkg/kyverno/apply/command.go index 8d4532a4ff..6cdc35899d 100644 --- a/pkg/kyverno/apply/command.go +++ b/pkg/kyverno/apply/command.go @@ -38,7 +38,7 @@ func Command() *cobra.Command { cmd = &cobra.Command{ Use: "apply", Short: "Applies policies on resources", - Example: fmt.Sprintf("To apply on a resource:\nkyverno apply /path/to/policy1 /path/to/policy2 --resource=/path/to/resource\n\nTo apply on a cluster\nkyverno apply /path/to/policy1 /path/to/policy2 --kubeConfig=/path/to/kubeConfig"), + Example: fmt.Sprintf("To apply on a resource:\nkyverno apply /path/to/policy1 /path/to/policy2 --resource=/path/to/resource1 --resource=/path/to/resource2\n\nTo apply on a cluster\nkyverno apply /path/to/policy1 /path/to/policy2 --cluster"), RunE: func(cmd *cobra.Command, policyPaths []string) (err error) { defer func() { if err != nil {