diff --git a/src/command.cpp b/src/command.cpp index 5cfdc1e00..64e70cc91 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -434,7 +434,7 @@ std::string handleDelete (TDB& tdb, T& task, Config& conf) { std::stringstream out; - if (conf.get ("confirmation") != "yes" || confirm ("Permanently delete task?")) + if (conf.get ("confirmation", true) || confirm ("Permanently delete task?")) { std::vector all; tdb.allPendingT (all);