update '.data' warning message to '*.data' for better readability (#3409)

TDB2: update '.data' warning to '*.data' for better readability, closes #3406
This commit is contained in:
sleepy_nols 2024-04-28 21:24:42 +02:00 committed by GitHub
parent eaef05ee95
commit 7dba5e7695
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -62,7 +62,7 @@ void TDB2::open_replica (const std::string& location, bool create_if_missing)
if (pending_data.exists()) { if (pending_data.exists()) {
Color warning = Color (Context::getContext ().config.get ("color.warning")); Color warning = Color (Context::getContext ().config.get ("color.warning"));
std::cerr << warning.colorize ( std::cerr << warning.colorize (
format ("Found existing '.data' files in {1}", location)) << "\n"; format ("Found existing '*.data' files in {1}", location)) << "\n";
std::cerr << " Taskwarrior's storage format changed in 3.0, requiring a manual migration.\n"; std::cerr << " Taskwarrior's storage format changed in 3.0, requiring a manual migration.\n";
std::cerr << " See https://github.com/GothenburgBitFactory/taskwarrior/releases.\n"; std::cerr << " See https://github.com/GothenburgBitFactory/taskwarrior/releases.\n";
} }