From 061639a37017d105f4b26068084b94d0df55b7ed Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Wed, 17 Feb 2010 18:15:24 -0500 Subject: [PATCH] Bug Fix - #380 Configuration values can no longer be commented out - Added an explanatory comment to reinforce what is said in the taskrc.5 man page, about how to deal with defaults, overrides and blanks. --- src/Config.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Config.cpp b/src/Config.cpp index 189eb0bce..e8bcf1f2c 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -48,6 +48,11 @@ std::string Config::defaults = "# For more documentation, see http://taskwarrior.org or try 'man task', 'man task-faq',\n" "# 'man task-tutorial', 'man task-color' or 'man taskrc'\n" "\n" + "# Here is an example of entries that use the default, override and blank values\n" + "# variable=foo -- By specifying a value, this overrides the default\n" + "# variable= -- By specifying no value, this means no default\n" + "# #variable=foo -- By commenting out the line, this uses the default\n" + "\n" "# Files\n" "data.location=~/.task\n" "locking=on # Use file-level locking\n"