From 3dca0283f4ac3cb1d8b6bb85c6921d2514b9f170 Mon Sep 17 00:00:00 2001 From: Cory Donnelly Date: Sat, 17 Jul 2010 19:33:19 -0400 Subject: [PATCH] Feature #431 - Added feedback after running the 'log' command, because task was otherwise silent. --- ChangeLog | 1 + src/command.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index b00d2505f..7f8feee61 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,7 @@ + Improved man pages (thanks to Andy Lester). + Default .taskrc files are now largely empty, and rely almost completed on default values. + + Improved feedback after running the 'log' command. ------ old releases ------------------------------ diff --git a/src/command.cpp b/src/command.cpp index d4d82ca90..9026c7365 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -199,6 +199,9 @@ int handleLog (std::string &outs) context.tdb.commit (); context.tdb.unlock (); + if (context.config.getBoolean ("echo.command")) + out << "Logged task." << std::endl; + outs = out.str (); context.hooks.trigger ("post-log-command"); }