| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 10 days | notsure | Jeff Carr | |
| 2025-09-24 | rearrange | Jeff Carr | |
| 2024-09-05 | Merge pull request #262 from hhromic/fix-261 | Alex Flint | |
| Fix help text for positional args with default and env var | |||
| 2024-07-22 | Fix help text for positional args with default and env var | Hugo Hromic | |
| 2024-07-06 | Move writing program version from usage to help writer | Hugo Hromic | |
| * Writing the version on usage text is unexpected and confusing | |||
| 2024-06-30 | Merge pull request #224 from hhromic/better-version-v2 | Alex Flint | |
| Fix usage writing when using custom version flag | |||
| 2024-06-29 | Implement scanning of version flag in specs for usage generation | Hugo Hromic | |
| 2024-06-29 | Better scanning of version flag in specs for help generation | Hugo Hromic | |
| 2024-06-29 | Use standard exit status code for usage errors | Hugo Hromic | |
| * The stdlib `flags` package and most command line utilities use status code `2`. | |||
| 2024-04-02 | Merge pull request #243 from alexflint/handle-empty-placeholderv1.5.0 | Alex Flint | |
| Handle explicit empty placeholders | |||
| 2024-03-31 | handle explicit empty placeholders | Alex Flint | |
| 2023-10-08 | add subcommand aliases | Alex Flint | |
| 2023-07-14 | Improve handling of version flag | Hugo Hromic | |
| * Only use/show builtin `--version` flag if args are versioned with a non-empty `Version()` * If args define a `--version` flag, honor it and disable/hide the builtin version flag * Only return `ErrVersion` when using the builtin version flag | |||
| 2023-06-03 | help,usage and error messages and tests | Ilja Neumann | |
| 2023-06-03 | don't print env-vars in usage line | Ilja Neumann | |
| 2023-06-03 | fixed tests | Pablo Diaz | |
| 2023-06-03 | added tests and fixed usage | Pablo Diaz | |
| 2023-02-08 | clean up customizable stdout, stderr, and exit in parser config | Alex Flint | |
| 2023-02-08 | feat: support more env than terminal | duxinlong | |
| Change-Id: I7f35e90b8f19f4ea781832885d35e2f1e275207a | |||
| 2022-10-29 | Merge remote-tracking branch 'origin/master' into default-value-issue | Alex Flint | |
| 2022-10-29 | add test for the new default value parsing logic as it shows up in help messages | Alex Flint | |
| 2022-09-17 | Feat: Add epilog after help text | Sebastiaan Pasterkamp | |
| Similar to the Description at the top of the help text an Epilog is added at the bottom. Resolves #189 | |||
| 2022-02-09 | fix bracketing for non-required positionals | Alex Flint | |
| 2021-05-09 | simplify the error string logic | Alex Flint | |
| 2021-05-09 | add FailSubcommand, WriteUsageForSubcommand, WriteHelpForSubcommand | Alex Flint | |
| 2021-04-19 | test coverage 100% !! | Alex Flint | |
| 2021-04-19 | change "kind" to "cardinality", add support for maps to parser | Alex Flint | |
| 2021-04-16 | Merge pull request #137 from alexflint/optional-long | Alex Flint | |
| Optional long names | |||
| 2021-04-08 | refactor: remove unused function | LeoZhan | |
| 2021-01-31 | test that short-only options are printed first in the help message | Alex Flint | |
| 2020-12-20 | Skip right column if the left is empty | Andrew Morozko | |
| 2020-12-20 | Optional long arguments | Andrew Morozko | |
| 2020-06-03 | feat(usage): Include env variable in usage | Denys Vitali | |
| 2020-01-25 | Fix lint warnings | Dylan Allbee | |
| 2020-01-25 | Use command passed into p.Parse(...) write methods | Dylan Allbee | |
| It is currently impossible to programatically write help and usage messages for subcommands, due to parser.WriteHelp and parser.WriteUsage not taking the state of the parser into account. Check for the existence of p.lastCmd and use it for the writers when available. Enables ability to write unit tests for subcommand help. | |||
| 2020-01-25 | Print global options in help for subcommands | Dylan Allbee | |
| fixes #101 | |||
| 2020-01-23 | address review comments | Marco Molteni | |
| 2020-01-19 | usage: if the program supports subcommands, mention it | Marco Molteni | |
| 2019-11-30 | Various changes | Andrew Morozko | |
| 2019-11-29 | Added the "dataname" tag | Andrew Morozko | |
| 2019-10-19 | store default values during NewParser | Alex Flint | |
| 2019-05-03 | no need to initialize nil structs during path traversal | Alex Flint | |
| 2019-05-03 | simplify Fprint call | Alex Flint | |
| 2019-05-03 | print help and usage at subcommand level if necessary | Alex Flint | |
| 2019-05-03 | add subcommands to usage string | Alex Flint | |
| 2019-04-30 | introduced path struct | Alex Flint | |
| 2019-04-30 | rename get/settable to readable/writable | Alex Flint | |
| 2019-04-30 | minor reformat | Alex Flint | |
| 2019-04-14 | all tests passing again | Alex Flint | |
| 2019-04-14 | refactor validation | Alex Flint | |
