value of a container option (e.g. array) is reset to empty on first specification

This commit is contained in:
2026-03-03 05:58:15 +01:00
parent f55e9cea82
commit ac8d5fa3a9
5 changed files with 19 additions and 11 deletions
+1
View File
@@ -13,6 +13,7 @@ type cliOptionBase struct {
description string
isArray bool
hidden bool
alreadySeen bool
specialValues map[string]SpecialValueFunc
incompatibleWith []string
}