mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
CmdShorten: Obeys verbose mode
This commit is contained in:
parent
12926ea91c
commit
5002b74c87
1 changed files with 2 additions and 1 deletions
|
@ -74,7 +74,8 @@ int CmdShorten (
|
|||
database.modifyInterval (tracked[tracked.size () - id], i);
|
||||
|
||||
// Feedback.
|
||||
std::cout << "Shortened @" << id << " by " << dur.formatHours () << '\n';
|
||||
if (rules.getBoolean ("verbose"))
|
||||
std::cout << "Shortened @" << id << " by " << dur.formatHours () << '\n';
|
||||
}
|
||||
else
|
||||
std::cout << "Cannot shorten interval @"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue