mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdDenotate
- Converted from A3 modifications to Task::modify.
This commit is contained in:
parent
bbbe690307
commit
fb639496d3
1 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue