| Age | Commit message (Collapse) | Author |
|
|
|
|
|
Option to ignore environment variables
|
|
|
|
Subcommand usage options
|
|
Document that the placeholder tag requires v1.3.0
|
|
|
|
|
|
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.
|
|
fixes #101
|
|
fix issue with duplicate fields in embedded structs
|
|
|
|
|
|
|
|
README: how to terminate a program when no subcommands are specified
|
|
Subcommands usage simple
|
|
Fixes #103
|
|
|
|
|
|
|
|
Added the "placeholder" tag
|
|
|
|
|
|
|
|
|
|
Allow default values in struct tags
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Multiple args are terminated by "--"
|
|
|
|
Add support for subcommands
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Conflicts:
# parse.go
|
|
Add expected outputs to all runnable examples
|
|
|
|
|