Commit graph

2 commits

Author SHA1 Message Date
Kenjiro Nakayama
4164386743 Support OnlySubCommands for validation of positional arguments
Currently, suggestions for "unknown command" are not working for
subcommands.

This patch supports new validation of positional arguments as
`OnlySubCommands`. It accepts only subcommands if enabled, and also
`findSuggestions()` will be called.
2018-05-31 10:32:11 +09:00
Albert Nigmatzianov
18eefcde17 Add tests for args.go 2017-11-09 07:56:43 +01:00