From c2c53fa668b1c8ca3ddc659a5fe8dfff70e70cfc Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 12 Jul 2015 17:56:59 -0400 Subject: [PATCH] CLI2: Tags args 'UNKNOWN' to help spot an worthless use case --- src/CLI2.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CLI2.cpp b/src/CLI2.cpp index 958c4758b..a71e7317d 100644 --- a/src/CLI2.cpp +++ b/src/CLI2.cpp @@ -465,6 +465,8 @@ void CLI2::lexArguments () else { A2 unknown (_original_args[i], Lexer::Type::word); + unknown.tag ("UNKNOWN"); + if (lex.wasQuoted (_original_args[i])) unknown.tag ("QUOTED");