mirror of
https://github.com/sametersoylu/argument-parser.git
synced 2026-05-28 20:08:10 +00:00
fix: use correct ref to parsed args on linux
This commit is contained in:
@@ -22,7 +22,7 @@ namespace argument_parser {
|
|||||||
set_program_name(program_name);
|
set_program_name(program_name);
|
||||||
|
|
||||||
for (std::string line; std::getline(command_line_file, line, '\0');) {
|
for (std::string line; std::getline(command_line_file, line, '\0');) {
|
||||||
parsed_arguments.emplace_back(line);
|
ref_parsed_args().emplace_back(line);
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare_help_flag(should_exit);
|
prepare_help_flag(should_exit);
|
||||||
|
|||||||
Reference in New Issue
Block a user