1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-05-02 21:53:51 +00:00
Nathan Hourt cb906d1aab Fix #23: Respect fallthrough_ in _valid_subcommand
_valid_subcommand checks whether its argument appears to be a valid subcommand name or not; however, if it doesn't recognize the name, it always checks if its parent does. As described in in issue #23, this can cause incorrect behavior. To avoid this, check if fallthrough is disabled first, and do not consult the parent's known subcommands if fallthrough is disabled.
2017-08-22 14:18:30 -05:00
..
2017-06-01 09:23:04 -04:00
2017-06-01 09:23:04 -04:00
2017-06-02 11:33:03 -04:00