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