- Unexported fields are now ignored
- Examples for Verbs and Remainder in documentation
- Fix typo in documentation
- Remove placeholders from LICENSE
- Add CONTROBUTORS
- Bring
examples/readme_example.go
andREADME.md
up to date - Rewrite formatter
- Make arrays of
goptions.Marshaler
work
- Add support for
int32
andint64
- Add support for
float32
andfloat64
- Fix a bug where the name of a unknown type would not be properly printed
- Fix checks whether to use
os.Stdin
oros.Stdout
when "-" is given for a*os.File
- Fix an test example where the output to
os.Stderr
is apparently not evaluated anymore.
- Code was not compilable due to temporary maintainer idiocy (Thanks akrennmair)
- Gave
goptions.FlagSet
aParseAndFail()
method
- Add support for
time.Duration
- Add support for
*net.TCPAddr
- Add support for
*net/url.URL
- Fix behaviour of
[]bool
fields
goptions.Verbs
is of typestring
and will have selected verb name as value after parsing.
- Disallow multiple flag names for one member
- Remove
accumulate
option in favor of generic array support
- Add convenience function
ParseAndFail
to make common usage of the library a one-liner (seereadme_example.go
) - Add a
Marshaler
interface to enable thrid-party types - Add support for slices (and thereby for mutiple flag definitions)
- Refactoring to get more flexibility
- Make a flag's default value accessible in the template context