File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -143,8 +143,9 @@ type ParseErrorsAllowlist struct {
143143 UnknownFlags bool
144144}
145145
146- // DEPRECATED: please use ParseErrorsAllowlist instead
147- // This type will be removed in a future release
146+ // ParseErrorsWhitelist defines the parsing errors that can be ignored.
147+ //
148+ // Deprecated: use [ParseErrorsAllowlist] instead. This type will be removed in a future release.
148149type ParseErrorsWhitelist = ParseErrorsAllowlist
149150
150151// NormalizedName is a flag name that has been normalized according to rules
@@ -165,8 +166,9 @@ type FlagSet struct {
165166 // ParseErrorsAllowlist is used to configure an allowlist of errors
166167 ParseErrorsAllowlist ParseErrorsAllowlist
167168
168- // DEPRECATED: please use ParseErrorsAllowlist instead
169- // This field will be removed in a future release
169+ // ParseErrorsAllowlist is used to configure an allowlist of errors.
170+ //
171+ // Deprecated: use [FlagSet.ParseErrorsAllowlist] instead. This field will be removed in a future release.
170172 ParseErrorsWhitelist ParseErrorsAllowlist
171173
172174 name string
You can’t perform that action at this time.
0 commit comments