CmdDenotate

- Converted from A3 modifications to Task::modify.
This commit is contained in:
Paul Beckingham 2014-05-25 17:58:12 -04:00
parent bbbe690307
commit fb639496d3

View file

@ -64,14 +64,16 @@ int CmdDenotate::execute (std::string& output)
}
// Apply the command line modifications to the completed task.
A3 words = context.a3.extract_modifications ();
std::vector <std::string> words = context.parser.getWords ();
if (!words.size ())
throw std::string (STRING_CMD_DENO_WORDS);
// Accumulated project change notifications.
std::map <std::string, std::string> projectChanges;
std::string pattern = words.combine ();
//std::string pattern = words.combine ();
std::string pattern;
join (pattern, " ", words);
std::vector <Task>::iterator task;
for (task = filtered.begin (); task != filtered.end (); ++task)