Guides
Boolean Flags
Parse option flags without explicit values
Boolean Flags
Options without = are interpreted as boolean flags.
prop:"'database.host',optional"Map the flag to a boolean field.
type PropTag struct {
Key string `option:"value"`
Optional bool `option:"optional"`
}When the optional flag is present, Optional becomes true.
