From 2797541b8d142332cf076e1a1962665ac56e07b0 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Tue, 4 Nov 2014 23:16:37 -0500 Subject: [PATCH] CLI - Raised the lexeme count threshold to 3 to consider lexing an argument. This accomodates binary operators. --- src/CLI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CLI.cpp b/src/CLI.cpp index 64f8eebee..fc193ba7f 100644 --- a/src/CLI.cpp +++ b/src/CLI.cpp @@ -629,7 +629,7 @@ void CLI::addArg (const std::string& arg) foundOP = true; // This one looks interesting. - if (lexemes.size () > 1 && + if (lexemes.size () > 2 && foundOP) { for (l = lexemes.begin (); l != lexemes.end (); ++l)