From 45aeb13dd8ec2e144f0246be7db7a4393f9ed85a Mon Sep 17 00:00:00 2001 From: Brett Date: Sat, 16 Sep 2023 17:49:52 -0400 Subject: [PATCH] fix SUBCOMMAND action type --- libraries/parallel-hashmap | 2 +- src/blt/parse/argparse.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/parallel-hashmap b/libraries/parallel-hashmap index 93201da..77cab81 160000 --- a/libraries/parallel-hashmap +++ b/libraries/parallel-hashmap @@ -1 +1 @@ -Subproject commit 93201da2ba5a6aba0a6e57ada64973555629b3e3 +Subproject commit 77cab8192a879e5d27188f97e8f2080dd7e36ca8 diff --git a/src/blt/parse/argparse.cpp b/src/blt/parse/argparse.cpp index c45415e..b6cc95b 100755 --- a/src/blt/parse/argparse.cpp +++ b/src/blt/parse/argparse.cpp @@ -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;