Enhancement

- Various commands now allow modification and annotation.
This commit is contained in:
Paul Beckingham 2011-07-09 23:45:31 -04:00
parent b5f04a3ebc
commit d087bdfd38
9 changed files with 168 additions and 59 deletions

View file

@ -63,7 +63,7 @@ int CmdAdd::execute (std::string& output)
// Apply the command line modifications to the new task.
Arguments modifications = context.args.extract_modifications ();
modify_task (task, modifications);
modify_task_description_replace (task, modifications);
apply_defaults (task);
// Only valid tasks can be added.