mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Timew: Added top-level commit to save data
This commit is contained in:
parent
1e82568c49
commit
9904e7ff89
1 changed files with 3 additions and 0 deletions
|
@ -78,6 +78,9 @@ int main (int argc, const char** argv)
|
||||||
|
|
||||||
// Dispatch to commands.
|
// Dispatch to commands.
|
||||||
status = dispatchCommand (args, database, rules, extensions, log);
|
status = dispatchCommand (args, database, rules, extensions, log);
|
||||||
|
|
||||||
|
// Save any outstanding changes.
|
||||||
|
database.commit ();
|
||||||
}
|
}
|
||||||
|
|
||||||
catch (const std::string& error)
|
catch (const std::string& error)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue