Fredrik Wallgren
1488562b1e
Allow override of defaults for slice arguments
This commit fixes a bug where if a multiple value argument (slice) has default
values, the submitted values will be appended to the default. Not
overriding them as expected.
10 years ago
Alex Flint
c9584269b9
added tests for MAC and email addresses
10 years ago
Alex Flint
9a30acda05
added tests for IP address parsing
10 years ago
Alex Flint
865cc5a973
add support for pointers and TextUnmarshaler
10 years ago
Alex Flint
64a4bab550
add test for invalid durations
10 years ago
Alex Flint
ed2b19f2bb
add support for time.Duration fields
10 years ago
Brett Langdon
8dd29d34bf
Add support for environment variables
10 years ago
Alex Flint
b1ec8c9093
make it possible to override the name of the program
10 years ago
Alex Flint
0c0f9a53ac
MustParse returns *Parser
10 years ago
Alex Flint
70c56eff66
add more tests
10 years ago
Alex Flint
4d271f5326
fix float test for go1.4
10 years ago
Alex Flint
f427e9f317
added parser struct
10 years ago
Alex Flint
b9ad104f33
added usage generation
10 years ago
Alex Flint
8397a40f4c
positional arguments working
10 years ago
Alex Flint
408290f7c2
basic first version working
10 years ago