jszwedko
22dbe6ffdc
Fix help text for generic flag to not insinuate that you can specify multiple
...
Feels like it may have been copied from StringSliceFlag or something,
but update the output to be more consistent with other single value
flags.
Also added comments to the String and Apply functions.
10 years ago
Dan Buch
78d497e4cf
Adding support for multiple env var "cascade"
10 years ago
Ghislain Gt
98af61a59f
Add time.Duration flag type
10 years ago
Dan Buch
48869e13a4
Addressing `go vet` offenses
10 years ago
Dan Buch
fc16c67be3
Updating structs to use labels, adding tests for env stuff
10 years ago
Summer Mousa
1eaa882c3a
removed extranneous value method on the generic type
11 years ago
Summer Mousa
13e88629f5
Generic parsers as flag types
11 years ago
Ryan Schmukler
312151dca4
remove quotes for empty StringFlags
11 years ago
Yicheng Qin
ce13660ae0
fix(context): copy StringSlice Flag correctly
11 years ago
Katrina Owen
2ec51afe91
Implement Float64Flag. See #46
11 years ago
Jeremy Saenz
806cdc2890
removed dead test
11 years ago
Jeremy Saenz
ab6f1b7c3c
Formatting
11 years ago
Jared Forsyth
dc8a62e0e9
refactor, more robust flag propagation
11 years ago
Jared Forsyth
73e88630a5
fmt
11 years ago
Jared Forsyth
ccb1528bb0
adding multi-named flags
11 years ago
Jeremy Saenz
0d3c3f4497
Improved documentation
11 years ago
Mike Gehard
1a1d6bd163
Vary flag prefix based on name length
11 years ago