-
Notifications
You must be signed in to change notification settings - Fork 292
Open
Description
argparse::ArgumentParser program("program_name");
program.add_argument("-v", "--verbose");The current implementation seems to disallow calling the following twice.
program.parse_args(std::vector<std::string>>);
Is there a mechanism to reset internal state?
This would be useful when there are multiple objects to configure, while each of them may take different sets of arguments.
The same parser can be reused, otherwise the parser needs to be recreated each time parsing.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels