Feature #431
- Added feedback after running the 'log' command, because task was otherwise silent.
This commit is contained in:
committed by
Paul Beckingham
parent
63e42c6607
commit
3dca0283f4
@@ -10,6 +10,7 @@
|
|||||||
+ Improved man pages (thanks to Andy Lester).
|
+ Improved man pages (thanks to Andy Lester).
|
||||||
+ Default .taskrc files are now largely empty, and rely almost completed
|
+ Default .taskrc files are now largely empty, and rely almost completed
|
||||||
on default values.
|
on default values.
|
||||||
|
+ Improved feedback after running the 'log' command.
|
||||||
|
|
||||||
------ old releases ------------------------------
|
------ old releases ------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -199,6 +199,9 @@ int handleLog (std::string &outs)
|
|||||||
context.tdb.commit ();
|
context.tdb.commit ();
|
||||||
context.tdb.unlock ();
|
context.tdb.unlock ();
|
||||||
|
|
||||||
|
if (context.config.getBoolean ("echo.command"))
|
||||||
|
out << "Logged task." << std::endl;
|
||||||
|
|
||||||
outs = out.str ();
|
outs = out.str ();
|
||||||
context.hooks.trigger ("post-log-command");
|
context.hooks.trigger ("post-log-command");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user