From e36f45a8a8d13c7b1896ed09e179dc5eb125a95a Mon Sep 17 00:00:00 2001 From: Riccardo Montagnin Date: Tue, 9 Jan 2024 10:50:02 -0500 Subject: [PATCH] fix: remove support for NoOptDefaultValue (#14985) --- client/v2/autocli/flag/register.go | 1 - 1 file changed, 1 deletion(-) diff --git a/client/v2/autocli/flag/register.go b/client/v2/autocli/flag/register.go index cc18df69b6e7..a3a525b34374 100644 --- a/client/v2/autocli/flag/register.go +++ b/client/v2/autocli/flag/register.go @@ -104,7 +104,6 @@ func (b *Builder) addMessageFlags(ctx context.Context, flagSet *pflag.FlagSet, m flag.Deprecated = opts.Deprecated flag.ShorthandDeprecated = opts.ShorthandDeprecated flag.Hidden = opts.Hidden - flag.NoOptDefVal = opts.NoOptDefaultValue } })