mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Interval: Added synthetic indicator to ::dump
This commit is contained in:
parent
e4daeb2078
commit
61b9667df8
2 changed files with 6 additions and 2 deletions
|
@ -199,6 +199,9 @@ std::string Interval::dump () const
|
|||
out << ' ' << quoteIfNeeded (tag);
|
||||
}
|
||||
|
||||
if (synthetic)
|
||||
out << " synthetic";
|
||||
|
||||
return out.str ();
|
||||
}
|
||||
|
||||
|
|
|
@ -50,6 +50,7 @@ public:
|
|||
public:
|
||||
Range range {};
|
||||
int id {0};
|
||||
bool synthetic {false};
|
||||
|
||||
private:
|
||||
std::set <std::string> _tags {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue