summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-05fix example codeAlex Flint
2016-01-05add custom validation example to READMEAlex Flint
2016-01-05MustParse returns *ParserAlex Flint
2015-12-10Merge pull request #24 from toothrot/masterAlex Flint
Fix error when printing usage for multi-value arguments
2015-12-04Fix error when printing usage for multi-value argumentsAlex Rakoczy
We try to compare []strings, which are uncomparable types: `panic: runtime error: comparing uncomparable type []string`
2015-11-26Merge pull request #19 from walle/add_default_value_to_usageAlex Flint
Add default values to usage
2015-11-22Fix merge conflictsFredrik Wallgren
2015-11-22Add default values to usageFredrik Wallgren
Check if the value isn't it's zero value and if not add a default value to the usage text.
2015-11-22Merge pull request #13 from walle/show_builtinAlex Flint
Add built ins to options in help output
2015-11-16Add built ins to options in help outputFredrik Wallgren
Adds help to the options in help output with an easy way to add more built ins.
2015-11-15Merge pull request #16 from walle/move_docAlex Flint
Move package documentation to doc.go
2015-11-11Merge pull request #14 from walle/usage_on_stderr_bugAlex Flint
Fix bug with error not being written to stderr
2015-11-11Merge pull request #15 from walle/fix_lint_warningAlex Flint
Fix lint warning
2015-11-11Move package documentation to doc.goFredrik Wallgren
2015-11-11Fix lint warningFredrik Wallgren
2015-11-11Fix bug with error not being written to stderrFredrik Wallgren
Only the usage message was written to stderr, the error was written with the standard fmt.Println.
2015-11-09Merge pull request #10 from walle/fail_to_stderrAlex Flint
Write usage message to stderr on error
2015-11-09Merge pull request #7 from brettlangdon/dev/trailing.whitespace.sqwishedAlex Flint
Remove excess trailing whitespace from Usage generation
2015-11-09Write usage message to stderr on errorFredrik Wallgren
When the parsing of parameters/flags fails eg. when a required flag is missing, print the usage statement and error to stderr instead of stdout.
2015-11-07Remove excess trailing whitespace from Usage generationbrettlangdon
2015-11-04Merge pull request #6 from alexflint/coveralls_badgeAlex Flint
Add coveralls badge
2015-11-04add coveralls badgeAlex Flint
2015-11-04Merge pull request #5 from alexflint/usage_testsAlex Flint
Add more tests for parser
2015-11-04add more testsAlex Flint
2015-11-04Merge pull request #4 from alexflint/usage_testsAlex Flint
add tests for usage info
2015-11-04add tests for usage infoAlex Flint
2015-11-04Merge pull request #3 from alexflint/add_coverallsAlex Flint
add coveralls to .travis.yml
2015-11-04add coveralls to .travis.ymlAlex Flint
2015-11-03fix note on boolean flags in readmeAlex Flint
2015-11-01fix first example in docs - h/t eric somerladeAlex Flint
2015-11-01separate help into WriteUsage and WriteHelpAlex Flint
2015-11-01add travis badgeAlex Flint
2015-11-01fix float test for go1.4Alex Flint
2015-11-01fix examplesAlex Flint
2015-11-01remove extra go gets in travisAlex Flint
2015-11-01add .travis.ymlAlex Flint
2015-11-01fix exampleAlex Flint
2015-11-01added runnable examplesAlex Flint
2015-11-01move more stuff over to the parser structAlex Flint
2015-10-31added parser structAlex Flint
2015-10-31udpate readmeAlex Flint
2015-10-31udpate readmeAlex Flint
2015-10-31udpate readmeAlex Flint
2015-10-31udpate readmeAlex Flint
2015-10-31udpate readmeAlex Flint
2015-10-31udpate readmeAlex Flint
2015-10-31udpate readmeAlex Flint
2015-10-31udpate readmeAlex Flint
2015-10-31add READMEAlex Flint
2015-10-31add example.goAlex Flint