mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
CmdUntag: Obeys verbose mode
This commit is contained in:
parent
1d7d951e2d
commit
4bae1941d0
1 changed files with 7 additions and 4 deletions
|
@ -67,10 +67,13 @@ int CmdUntag (
|
|||
database.modifyInterval (tracked[tracked.size () - id], i);
|
||||
|
||||
// Feedback.
|
||||
std::cout << "Removed";
|
||||
for (auto& tag : tags)
|
||||
std::cout << ' ' << quoteIfNeeded (tag);
|
||||
std::cout << " from @" << id << '\n';
|
||||
if (rules.getBoolean ("verbose"))
|
||||
{
|
||||
std::cout << "Removed";
|
||||
for (auto& tag : tags)
|
||||
std::cout << ' ' << quoteIfNeeded (tag);
|
||||
std::cout << " from @" << id << '\n';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue