- Fixed problem where 'project' was not supported as a verbosity token (thanks
  to Adam Gibbins).
This commit is contained in:
Paul Beckingham 2012-03-17 10:11:55 -04:00
parent deb12102f6
commit 80d6655709
17 changed files with 35 additions and 17 deletions

View file

@ -56,12 +56,11 @@ int CmdAdd::execute (std::string& output)
modify_task_description_replace (task, context.a3.extract_modifications ());
context.tdb2.add (task);
// TODO This should be a call in to feedback.cpp.
if (context.verbose ("new-id"))
output = format (STRING_CMD_ADD_FEEDBACK, context.tdb2.next_id ()) + "\n";
// TODO verbosity token.
context.footnote (onProjectChange (task));
if (context.verbose ("project"))
context.footnote (onProjectChange (task));
context.tdb2.commit ();
return rc;