fix SUBCOMMAND action type
parent
02a1dc1a8c
commit
45aeb13dd8
|
@ -1 +1 @@
|
||||||
Subproject commit 93201da2ba5a6aba0a6e57ada64973555629b3e3
|
Subproject commit 77cab8192a879e5d27188f97e8f2080dd7e36ca8
|
|
@ -361,6 +361,7 @@ namespace blt
|
||||||
}
|
}
|
||||||
case arg_action_t::SUBCOMMAND:
|
case arg_action_t::SUBCOMMAND:
|
||||||
{
|
{
|
||||||
|
loaded_args[flag] = true;
|
||||||
help_disabled = true;
|
help_disabled = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -425,7 +426,6 @@ namespace blt
|
||||||
while (tokenizer.hasCurrent())
|
while (tokenizer.hasCurrent())
|
||||||
{
|
{
|
||||||
// if we find an arg which disables help (basically a grouping flag) then we should stop processing args
|
// 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)
|
if (help_disabled)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue