New Command - append

- New "append" command concatenates additional text onto an existing
  task description.
- Added unit tests to append command.
This commit is contained in:
Paul Beckingham
2009-03-16 08:28:34 -04:00
parent 7238d1f1c9
commit c69c3bb090
7 changed files with 170 additions and 49 deletions

View File

@@ -120,6 +120,7 @@ static const char* commands[] =
{
"active",
"add",
"append",
"calendar",
"colors",
"completed",
@@ -188,7 +189,6 @@ void guess (const std::string& type, std::vector<std::string>& options, std::str
candidate = matches[0];
else if (0 == matches.size ())
// throw std::string ("Unrecognized ") + type + " '" + candidate + "'";
candidate = "";
else