From f305a973da2509c7d20142ffd9f635514913e546 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 22 Jun 2015 14:47:26 -0400 Subject: [PATCH] CmdDenotate: Converted from CLI to CLI2 --- src/commands/CmdDenotate.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/commands/CmdDenotate.cpp b/src/commands/CmdDenotate.cpp index 0b2c5d205..80e8c1390 100644 --- a/src/commands/CmdDenotate.cpp +++ b/src/commands/CmdDenotate.cpp @@ -65,10 +65,9 @@ int CmdDenotate::execute (std::string& output) // Extract all the ORIGINAL MODIFICATION args as simple text patterns. std::string pattern = ""; - for (auto& a : context.cli._args) + for (auto& a : context.cli2._args) { - if (a.hasTag ("ORIGINAL") && - a.hasTag ("MODIFICATION")) + if (a.hasTag ("MODIFICATION")) { if (pattern != "") pattern += ' ';