mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-23 14:36:44 +02:00
Feature #431
- Added feedback after running the 'log' command, because task was otherwise silent.
This commit is contained in:
parent
63e42c6607
commit
3dca0283f4
2 changed files with 4 additions and 0 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue