Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gen740 committed Jan 24, 2024
1 parent 1a562ab commit b3f0302
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Argo/ArgoParserImpl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ constexpr auto Parser<ID, Args, PArgs, HArg, SubParsers>::setArg(
if constexpr (!std::is_same_v<HArg, void>) {
if (key == HArg::name.getKey()) {
std::cout << formatHelp() << std::endl;
exit(0);
std::exit(0);
}
}
Assigner<Args, PArgs>(key, val);
Expand All @@ -61,7 +61,7 @@ constexpr auto Parser<ID, Args, PArgs, HArg, SubParsers>::setShortKeyArg(
-> void {
if (ShortArgAssigner<Args, PArgs, HArg>(key, val)) [[unlikely]] {
std::cout << formatHelp() << std::endl;
exit(0);
std::exit(0);
};
}

Expand Down

0 comments on commit b3f0302

Please sign in to comment.