CmdDenotate: Converted from CLI to CLI2

This commit is contained in:
Paul Beckingham 2015-06-22 14:47:26 -04:00
parent f8ab97a07e
commit f305a973da

View file

@ -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 += ' ';