fix SUBCOMMAND action type

v1
Brett 2023-09-16 17:49:52 -04:00
parent 02a1dc1a8c
commit 45aeb13dd8
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 93201da2ba5a6aba0a6e57ada64973555629b3e3
Subproject commit 77cab8192a879e5d27188f97e8f2080dd7e36ca8

View File

@ -361,6 +361,7 @@ namespace blt
}
case arg_action_t::SUBCOMMAND:
{
loaded_args[flag] = true;
help_disabled = true;
break;
}
@ -425,7 +426,6 @@ namespace blt
while (tokenizer.hasCurrent())
{
// if we find an arg which disables help (basically a grouping flag) then we should stop processing args
// TODO: rename this to be more descriptive
if (help_disabled)
break;