From 414c97ed8ca88059664c4976db7250c0a7d0d988 Mon Sep 17 00:00:00 2001 From: IntelOrca Date: Thu, 21 Jan 2016 18:18:44 +0000 Subject: [PATCH] fix command line parsing of options --- src/cmdline/CommandLine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmdline/CommandLine.cpp b/src/cmdline/CommandLine.cpp index 25cf06d449..64f001f6fe 100644 --- a/src/cmdline/CommandLine.cpp +++ b/src/cmdline/CommandLine.cpp @@ -347,6 +347,7 @@ namespace CommandLine return false; } } + firstOption = false; } else if (!firstOption) { @@ -355,9 +356,8 @@ namespace CommandLine } else { - break; + continue; } - firstOption = false; } return true;