XOR groups for flags. (#35)

This commit is contained in:
gak
2019-07-20 20:31:04 +10:00
committed by Alec Thomas
parent 0548c6b1af
commit f830198fcd
6 changed files with 59 additions and 0 deletions
+1
View File
@@ -351,6 +351,7 @@ type Positional = Value
type Flag struct {
*Value
Group string // Logical grouping when displaying. May also be used by configuration loaders to group options logically.
Xor string
PlaceHolder string
Env string
Short rune