Confirmation

- Implemented consistent confirmation.
This commit is contained in:
Paul Beckingham 2011-10-14 02:13:18 -04:00
parent a5961f6847
commit 1b54516b45
4 changed files with 19 additions and 50 deletions

View file

@ -65,7 +65,7 @@ int CmdAppend::execute (std::string& output)
// Apply the command line modifications to the new task.
A3 modifications = context.a3.extract_modifications ();
if (!modifications.size ())
throw std::string (STRING_CMD_XPEND_NEED_TEXT);
throw std::string (STRING_CMD_MODIFY_NEED_TEXT);
std::vector <Task>::iterator task;
for (task = filtered.begin (); task != filtered.end (); ++task)