diff --git a/src/TDB2.cpp b/src/TDB2.cpp index c97404b85..b729c9a63 100644 --- a/src/TDB2.cpp +++ b/src/TDB2.cpp @@ -60,10 +60,10 @@ void TDB2::open_replica (const std::string& location, bool create_if_missing) File pending_data = File (location + "/pending.data"); if (pending_data.exists()) { Color warning = Color (Context::getContext ().config.get ("color.warning")); - std::cout << warning.colorize ( + std::cerr << warning.colorize ( format ("Found existing '.data' files in {1}", location)) << "\n"; - std::cout << " Taskwarrior's storage format changed in 3.0, requiring a manual migration.\n"; - std::cout << " See https://github.com/GothenburgBitFactory/taskwarrior/releases.\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"; } replica = tc::Replica(location, create_if_missing); }