mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 22:47:20 +02:00
Bug - limit
- When the 'limit:N' filter was used, a confusing message was displayed, especially when there were fewer filtered tasks that the limit.
This commit is contained in:
parent
f83cc3f39a
commit
3bb7abf9c3
1 changed files with 2 additions and 2 deletions
|
@ -659,8 +659,8 @@ int handleCustomReport (const std::string& report, std::string &outs)
|
||||||
if (maxrows)
|
if (maxrows)
|
||||||
out << ", " << maxrows << " shown";
|
out << ", " << maxrows << " shown";
|
||||||
|
|
||||||
if (maxlines < table.rowCount ())
|
if (maxlines && maxlines < table.rowCount ())
|
||||||
out << ", truncated to " << maxlines-1 << " lines";
|
out << ", truncated to " << maxlines - 1 << " lines";
|
||||||
|
|
||||||
out << std::endl;
|
out << std::endl;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue