diff --git a/pkg/cmd/cli/delete_options.go b/pkg/cmd/cli/delete_options.go index a8a2d09655..3600cfc03a 100644 --- a/pkg/cmd/cli/delete_options.go +++ b/pkg/cmd/cli/delete_options.go @@ -71,7 +71,7 @@ func (o *DeleteOptions) Validate(c *cobra.Command, f client.Factory, args []stri hasSelector = o.Selector.LabelSelector != nil ) if !xor(hasNames, hasAll, hasSelector) { - return errors.New("you must specify exactly one of: specific restore name(s), the --all flag, or the --selector flag") + return errors.New("you must specify exactly one of: specific " + o.singularTypeName + " name(s), the --all flag, or the --selector flag") } return nil