mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Bug
- Fixed bug that caused the 'done' command to always exit with a non-zero status (thanks to Steve Rader).
This commit is contained in:
parent
914626e2b2
commit
1d8a60a9ba
3 changed files with 5 additions and 1 deletions
|
@ -29,6 +29,8 @@
|
||||||
+ Added _query helper command for script writers, which accepts a filter like
|
+ Added _query helper command for script writers, which accepts a filter like
|
||||||
any other report, but returns only full JSON.
|
any other report, but returns only full JSON.
|
||||||
+ The dependency columns are now right-justified (thanks to Eric Fluger).
|
+ 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
|
+ Fixed bug #515, which displayed an incorrect message after duplicating a
|
||||||
non-existent task (thanks to Peter De Poorter).
|
non-existent task (thanks to Peter De Poorter).
|
||||||
+ Fixed bug #529, where the 'depends' attribute was not mentioned in the
|
+ Fixed bug #529, where the 'depends' attribute was not mentioned in the
|
||||||
|
|
2
NEWS
2
NEWS
|
@ -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
|
- The first month in the calendar report can now be changed with an offset
|
||||||
value.
|
value.
|
||||||
- No more dependency on ncurses.
|
- 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.
|
any other report, but returns unformatted JSON.
|
||||||
- Assorted bug fixes.
|
- Assorted bug fixes.
|
||||||
|
|
||||||
|
|
|
@ -1864,12 +1864,14 @@ int handleDone (std::string& outs)
|
||||||
nagged = nag (*task);
|
nagged = nag (*task);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
out << "Task "
|
out << "Task "
|
||||||
<< task->id
|
<< task->id
|
||||||
<< " '"
|
<< " '"
|
||||||
<< task->get ("description")
|
<< task->get ("description")
|
||||||
<< "' is neither pending nor waiting.\n";
|
<< "' is neither pending nor waiting.\n";
|
||||||
rc = 1;
|
rc = 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count)
|
if (count)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue