From b40879e15d51d8c56004a03df76ed012e3b1ea8a Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Fri, 1 Dec 2017 14:16:54 +0000 Subject: COMPMID-556: Preserve case-sensitivity of positional arguments Change-Id: I14ab1c4c0a492fe89ccd9d1f7adbf97f43e3149e Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/111513 Tested-by: BSG Visual Compute Jenkins server to access repositories on http://mpd-gerrit.cambridge.arm.com Reviewed-by: Anthony Barbier --- tests/framework/command_line/CommandLineParser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/framework') diff --git a/tests/framework/command_line/CommandLineParser.cpp b/tests/framework/command_line/CommandLineParser.cpp index 11eb1f3a4d..09b466ce84 100644 --- a/tests/framework/command_line/CommandLineParser.cpp +++ b/tests/framework/command_line/CommandLineParser.cpp @@ -87,11 +87,11 @@ void CommandLineParser::parse(int argc, char **argv) { if(positional_index >= _positional_options.size()) { - _invalid_options.push_back(option); + _invalid_options.push_back(mixed_case_opt); } else { - _positional_options[positional_index]->parse(option); + _positional_options[positional_index]->parse(mixed_case_opt); ++positional_index; } } -- cgit v1.2.1