chore: refactor class names.

feat: introduce parser settings for controlling the exit behavior.
This commit is contained in:
2026-05-13 13:04:57 +04:00
parent d1267c892f
commit 566b9128db
8 changed files with 90 additions and 58 deletions

View File

@@ -42,7 +42,7 @@ template <typename T> struct parser_trait<std::vector<T>> {
using namespace argument_parser::v2::flags;
auto main() -> int {
argument_parser::v2::parser parser(true);
argument_parser::v2::parser parser({.should_exit_on_help = false});
new_argument()
.positional("count")