From db345060c3e63a7ca58c03cc0cab512614d5695e Mon Sep 17 00:00:00 2001 From: charles-chenzz Date: Mon, 26 Feb 2024 21:07:39 +0800 Subject: [PATCH] update comment in command.Long --- kustomize/commands/edit/add/addreplacement.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kustomize/commands/edit/add/addreplacement.go b/kustomize/commands/edit/add/addreplacement.go index 17fd91526b..7dbe987b87 100644 --- a/kustomize/commands/edit/add/addreplacement.go +++ b/kustomize/commands/edit/add/addreplacement.go @@ -23,8 +23,8 @@ func newCmdAddReplacement(fSys filesys.FileSystem) *cobra.Command { cmd := &cobra.Command{ Use: "replacement", Short: "add an item to replacement field", - Long: `this command will add an item to replacement field in the kustomization file. -The item must be either a file, or an inline string. + Long: `this command will add an item to replacement field in the kustomization file. +The item must be a file path. `, Example: ` # Adds a replacement file to the kustomization file