diff --git a/kustomize/commands/edit/add/addmetadata.go b/kustomize/commands/edit/add/addmetadata.go index 93cf91a006..1dfdda27fb 100644 --- a/kustomize/commands/edit/add/addmetadata.go +++ b/kustomize/commands/edit/add/addmetadata.go @@ -70,7 +70,7 @@ func newCmdAddLabel(fSys filesys.FileSystem, v func(map[string]string) error) *c o.mapValidator = v cmd := &cobra.Command{ Use: "label", - Short: "Adds one or more commonLabels to " + + Short: "Adds one or more commonLabels or labels to " + konfig.DefaultKustomizationFileName(), Example: ` add label {labelKey1:labelValue1} {labelKey2:labelValue2}`, diff --git a/kustomize/commands/edit/set/setlabel.go b/kustomize/commands/edit/set/setlabel.go index 42a9bc00a4..cf7a96520b 100644 --- a/kustomize/commands/edit/set/setlabel.go +++ b/kustomize/commands/edit/set/setlabel.go @@ -27,7 +27,7 @@ func newCmdSetLabel(fSys filesys.FileSystem, v func(map[string]string) error) *c o.mapValidator = v cmd := &cobra.Command{ Use: "label", - Short: "Sets one or more commonLabels in " + + Short: "Sets one or more commonLabels or labels in " + konfig.DefaultKustomizationFileName(), Example: ` set label {labelKey1:labelValue1} {labelKey2:labelValue2}`,