From 1b2a966c62ca220232c6b0a0a9c68f34fc5825e4 Mon Sep 17 00:00:00 2001 From: Morten Torkildsen Date: Wed, 12 Aug 2020 20:21:12 -0700 Subject: [PATCH] Improve the description of the --field flag for create-setter --- cmd/config/internal/commands/cmdcreatesetter.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/config/internal/commands/cmdcreatesetter.go b/cmd/config/internal/commands/cmdcreatesetter.go index 1080c8950..5d9c6cfa0 100644 --- a/cmd/config/internal/commands/cmdcreatesetter.go +++ b/cmd/config/internal/commands/cmdcreatesetter.go @@ -39,8 +39,8 @@ func NewCreateSetterRunner(parent string) *CreateSetterRunner { set.Flags().StringVar(&r.Set.SetPartialField.Description, "description", "", "record a description for the current setter value.") set.Flags().StringVar(&r.Set.SetPartialField.Field, "field", "", - "name of the field to set -- e.g. --field port. defaults to all fields match"+ - "VALUE. maybe be the field name, field path, or partial field path (suffix)") + "name of the field to set, a suffix of the path to the field, or the full" + + " path to the field. Default is to match all fields.") set.Flags().StringVar(&r.Set.ResourceMeta.Name, "name", "", "name of the Resource on which to create the setter.") set.Flags().MarkHidden("name")