mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Test for no ids
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
6a08fd392b
commit
711848915b
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ int CmdAnnotate (
|
|||
flattenDatabase (database, rules);
|
||||
auto intervals = getIntervalsByIds (database, rules, ids);
|
||||
|
||||
if (intervals.empty ())
|
||||
if (ids.empty ())
|
||||
{
|
||||
if (database.empty ())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue