- Fixed bug that caused the 'done' command to always exit with a non-zero
  status (thanks to Steve Rader).
This commit is contained in:
Paul Beckingham 2011-01-09 21:25:09 -05:00
parent 914626e2b2
commit 1d8a60a9ba
3 changed files with 5 additions and 1 deletions

View file

@ -29,6 +29,8 @@
+ Added _query helper command for script writers, which accepts a filter like
any other report, but returns only full JSON.
+ The dependency columns are now right-justified (thanks to Eric Fluger).
+ Fixed bug that caused the 'done' command to always exit with a non-zero
status (thanks to Steve Rader).
+ Fixed bug #515, which displayed an incorrect message after duplicating a
non-existent task (thanks to Peter De Poorter).
+ Fixed bug #529, where the 'depends' attribute was not mentioned in the

2
NEWS
View file

@ -11,7 +11,7 @@ New Features in taskwarrior 1.9.4
- The first month in the calendar report can now be changed with an offset
value.
- No more dependency on ncurses.
- New '_query helper command for script writers, which accepts a filter like
- New '_query' helper command for script writers, which accepts a filter like
any other report, but returns unformatted JSON.
- Assorted bug fixes.

View file

@ -1864,12 +1864,14 @@ int handleDone (std::string& outs)
nagged = nag (*task);
}
else
{
out << "Task "
<< task->id
<< " '"
<< task->get ("description")
<< "' is neither pending nor waiting.\n";
rc = 1;
}
}
if (count)