akamensky / argparse

Argparse for golang. Just because `flag` sucks
MIT License
604 stars 62 forks source link

BUG: Some sort of issue with usage text generation on deeply nested commands #5

Closed akamensky closed 6 years ago

akamensky commented 6 years ago

See examples/commands-advanced for example. It has help message issues with calling $ go run main.go dog

Should print list of dog's subcommands, but prints dog and cat top level commands.

akamensky commented 6 years ago

Fixed in https://github.com/akamensky/argparse/commit/43ab1a91c634961a2f0a570d5caba00ef8093586