summaryrefslogtreecommitdiff
path: root/usage_test.go
AgeCommit message (Expand)Author
2024-09-05Merge pull request #262 from hhromic/fix-261Alex Flint
2024-07-22Fix help text for positional args with default and env varHugo Hromic
2024-07-06Move writing program version from usage to help writerHugo Hromic
2024-06-30Merge pull request #224 from hhromic/better-version-v2Alex Flint
2024-06-30Add more test cases for version help/usage writingHugo Hromic
2024-06-29Use standard exit status code for usage errorsHugo Hromic
2024-04-02Merge pull request #243 from alexflint/handle-empty-placeholderv1.5.0Alex Flint
2024-04-02Merge pull request #244 from alexflint/restore-100pct-coverageAlex Flint
2024-04-02add a test case with single-level subcommandsAlex Flint
2024-04-02add test for help and usage when a --version flag is presentAlex Flint
2024-03-31handle explicit empty placeholdersAlex Flint
2023-10-08add subcommand aliasesAlex Flint
2023-06-03help,usage and error messages and testsIlja Neumann
2023-06-03Parse env-only varsIlja Neumann
2023-06-03fixed testsPablo Diaz
2023-06-03added tests and fixed usagePablo Diaz
2023-02-08clean up customizable stdout, stderr, and exit in parser configAlex Flint
2022-10-29Merge remote-tracking branch 'origin/master' into default-value-issueAlex Flint
2022-10-29add test for the new default value parsing logic as it shows up in help messagesAlex Flint
2022-10-29store both a default value and a string representation of that default value ...Alex Flint
2022-09-17Feat: Add epilog after help textSebastiaan Pasterkamp
2022-06-09fix issue #184Alex Flint
2022-02-09fix bracketing for non-required positionalsAlex Flint
2021-05-09add FailSubcommand, WriteUsageForSubcommand, WriteHelpForSubcommandAlex Flint
2021-04-19test coverage 100% !!Alex Flint
2021-01-31test that short-only options are printed first in the help messageAlex Flint
2020-12-20Skip right column if the left is emptyAndrew Morozko
2020-12-20Optional long argumentsAndrew Morozko
2020-06-03feat(usage): Include env variable in usageDenys Vitali
2020-04-03clean up extraneous test outputAlex Flint
2020-03-01add Config.IgnoreEnv to ignore environment variablesAlex Flint
2020-01-25Fix lint warningsDylan Allbee
2020-01-25Use command passed into p.Parse(...) write methodsDylan Allbee
2019-10-19store default values during NewParserAlex Flint
2019-04-04add golangci badge, and fix some lint issues found by the toolAlex Flint
2018-04-16fixed example comment, test coverage issueWlazlo, Matt
2018-04-13Custom parsers implementing encoding.TextMarshaler() can have default values ...Wlazlo, Matt
2017-10-02Further clarificationRick
2017-10-02Altered help tag parsing to reduce the constraints on help text content; old ...Rick
2017-03-30testsMario Hros
2017-03-08nicer usage outputMario Hros
2017-01-23add support for description stringEmmanouil "Manolis" Maragkakis
2016-09-08add support for version stringAlex Flint
2016-03-06Print defaults for multiplesFredrik Wallgren
2016-02-22Merge pull request #32 from alexflint/override_program_nameAlex Flint
2016-01-18Add support for environment variablesbrettlangdon
2016-01-18make it possible to override the name of the programAlex Flint
2016-01-18resolve mergeAlex Flint
2015-12-04Fix error when printing usage for multi-value argumentsAlex Rakoczy
2015-11-21Display help text for positional argumentsbrettlangdon