| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-04-26 | Add one more test | Illia Volochii | |
| 2018-04-26 | Fix providing multiple values via environment variables | Illia Volochii | |
| 2018-04-20 | Merge pull request #64 from alexflint/repeated-unmarshaltext | Alex Flint | |
| Fix repeated arguments implementing TextUnmarshaler | |||
| 2018-04-18 | add positional test | Alex Flint | |
| 2018-04-18 | fix repeated text unmarshal bug | Alex Flint | |
| 2018-04-18 | separate scalar.CanParse from isBoolean | Alex Flint | |
| 2018-04-18 | drop setScalar | Alex Flint | |
| 2018-04-15 | Merge pull request #62 from mwlazlo-tls/master | Alex Flint | |
| Custom parsers implementing encoding.TextMarshaler() can have default… | |||
| 2018-04-16 | fixed example comment, test coverage issue | Wlazlo, Matt | |
| 2018-04-13 | Custom parsers implementing encoding.TextMarshaler() can have default values ↵ | Wlazlo, Matt | |
| printed via --help | |||
| 2018-02-05 | Merge pull request #61 from alexflint/negative-values | Alex Flint | |
| handle negative values | |||
| 2018-01-13 | handle negative values | Alex Flint | |
| 2017-10-02 | Merge pull request #59 from rickb777/master | Alex Flint | |
| Altered help tag parsing to allow comma and colon | |||
| 2017-10-02 | Further clarification | Rick | |
| 2017-10-02 | Altered help tag parsing to reduce the constraints on help text content; old ↵ | Rick | |
| behaviour is retained for backward compatibility | |||
| 2017-09-27 | Merge pull request #57 from rickb777/master | Alex Flint | |
| Allow spaces after each comma in tags | |||
| 2017-09-16 | Allow spaces after each comma in tags | Rick | |
| 2017-03-30 | Merge pull request #54 from k3a/master | Alex Flint | |
| Required multiple positionals | |||
| 2017-03-30 | tests | Mario Hros | |
| 2017-03-30 | required positional args | Mario Hros | |
| 2017-03-09 | Merge pull request #53 from k3a/master | Alex Flint | |
| Make usage output nicer | |||
| 2017-03-09 | Merge branch 'master' into master | K3A | |
| 2017-03-08 | Merge pull request #50 from kenshaw/add-single-notrunc-opts | Alex Flint | |
| Adding single and notrunc tag options | |||
| 2017-03-08 | readme update | Mario Hros | |
| 2017-03-08 | nicer usage output | Mario Hros | |
| 2017-03-04 | Adding separate tag option | Kenneth Shaw | |
| As outlined in #49, there is a need to mimic the behavior of other applications by interweaving positional and non-positional parameters. This change adds the 'separate' option that will force a arg of type []string to only read the next supplied value. For example, when dealing with the following arg type: var MyArgs struct { Pos []string `arg:"positional"` Separate []string `arg:"-s,separate"` } This commit will parse the following command line: ./app pos1 pos2 -s=separate1 -s=separate2 pos3 -s=separate3 pos4 Such that MyArgs.Pos will be [pos1 pos2 pos3 pos4] and MyArgs.Separate will be [separate1 separate2 separate3]. Unit tests for the above have also been written and are included in this commit, as well as the addition of a section to README.md and an example func in example_test.go. Fixes #49 | |||
| 2017-02-22 | Merge pull request #48 from alexflint/parse_hyphen | Alex Flint | |
| deal with "-" as option value | |||
| 2017-02-21 | deal with "-" as option value | Alex Flint | |
| 2017-02-17 | Merge pull request #46 from alexflint/vendoring | Alex Flint | |
| vendor in dependencies | |||
| 2017-02-15 | deal with booleans correctly | Alex Flint | |
| 2017-02-15 | put comment back | Alex Flint | |
| 2017-02-15 | use go-scalar, vendoring | Alex Flint | |
| 2017-02-09 | Merge pull request #45 from alexflint/empty_args | Alex Flint | |
| Do not crash when os.Args is empty | |||
| 2017-02-09 | fix case where os.Args is empty | Alex Flint | |
| 2017-02-09 | Merge pull request #43 from mnsmar/master | Alex Flint | |
| print description in help message, not in usage | |||
| 2017-02-08 | print description in help message, not in usage | Emmanouil "Manolis" Maragkakis | |
| 2017-01-24 | Merge pull request #41 from mnsmar/master | Alex Flint | |
| add support for description string | |||
| 2017-01-23 | add support for description string | Emmanouil "Manolis" Maragkakis | |
| 2016-10-11 | Merge pull request #39 from alexflint/embedded | Alex Flint | |
| add support for embedded structs | |||
| 2016-10-10 | add not on embedding to readme | Alex Flint | |
| 2016-10-10 | add support for embedded structs | Alex Flint | |
| 2016-09-13 | Merge pull request #38 from alexflint/version_string | Alex Flint | |
| Add support for version strings | |||
| 2016-09-08 | add to readme | Alex Flint | |
| 2016-09-08 | add support for version string | Alex Flint | |
| 2016-07-31 | Merge pull request #36 from alexflint/add_goreportcard_readme | Alex Flint | |
| Add goreportcard to README.md | |||
| 2016-07-31 | add goreportcard to readme.md | Alex Flint | |
| 2016-07-31 | Merge pull request #35 from alexflint/fix_example_names | Alex Flint | |
| fix example function names | |||
| 2016-07-31 | fix example function names | Alex Flint | |
| 2016-03-06 | Merge pull request #34 from walle/defaults_for_multiple | Alex Flint | |
| Print defaults for multiples | |||
| 2016-03-06 | Print defaults for multiples | Fredrik Wallgren | |
| Check if the default value supplied is a slice and not nil, if so print the list of values supplied. Test case for slice argument with and without default values. Default values for slices was not printed because slice is not comparable, but the zero value for slices is nil. | |||
