mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Verbosity
- Added 'affected' verbosity token. - Deprecated 'rc.echo.command'. - Updated config defaults. - Labelled all deprecated 'echo.command' references with '// Deprecated 2.0' - Added unit tests to start the verbosity testing. Not complete. - Updated taskrc.5 man page.
This commit is contained in:
parent
de481a7eba
commit
78f91ffa91
19 changed files with 109 additions and 30 deletions
|
@ -69,7 +69,8 @@ int CmdLog::execute (std::string& output)
|
|||
context.footnote (onProjectChange (task));
|
||||
context.tdb2.commit ();
|
||||
|
||||
if (context.config.getBoolean ("echo.command"))
|
||||
if (context.verbose ("affected") ||
|
||||
context.config.getBoolean ("echo.command")) // Deprecated 2.0
|
||||
output = std::string (STRING_CMD_LOG_LOGGED) + "\n";
|
||||
|
||||
return rc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue