mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-01 18:27:20 +02:00
Enhancement
- Output error, header, footnote and debug messages on standard error.
This commit is contained in:
parent
b093d23f1f
commit
b45a305df2
28 changed files with 101 additions and 82 deletions
|
@ -147,7 +147,6 @@ int CmdCustom::execute (std::string& output)
|
|||
if (maxlines)
|
||||
maxlines -= (context.verbose ("blank") ? 1 : 0)
|
||||
+ table_header
|
||||
+ (context.verbose ("footnote") ? context.footnotes.size () : 0)
|
||||
+ 1; // "X tasks shown ..."
|
||||
|
||||
// Render.
|
||||
|
@ -161,6 +160,7 @@ int CmdCustom::execute (std::string& output)
|
|||
<< view.render (filtered, sequence)
|
||||
<< optionalBlankLine ();
|
||||
|
||||
// Print the number of rendered tasks
|
||||
if (context.verbose ("affected"))
|
||||
{
|
||||
out << (filtered.size () == 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue