From 0ff33d1c1690e6ad50b1c499343e66e654b5c23d Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 9 Mar 2009 22:53:54 -0400 Subject: [PATCH] Version command changes - Added color.recurring to the list of valid config values. - Added message to "version" command hinting that folks should look periodically for updated versions of task. Task does not "call home" and check for updates (and never will), and so it is easy to not realize that there may be newer versions of task with bug fixes and new features. --- src/command.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/command.cpp b/src/command.cpp index 03e6e473d..a129323af 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -307,7 +307,9 @@ std::string handleVersion (Config& conf) link.setColumnWidth (0, Table::flexible); link.setColumnJustification (0, Table::left); link.addCell (link.addRow (), 0, - "See http://www.beckingham.net/task.html for the latest releases and a full tutorial."); + "See http://www.beckingham.net/task.html for the latest releases and a " + "full tutorial. New releases containing fixes and enhancements are " + "released frequently."); // Create a table for output. Table table; @@ -363,10 +365,10 @@ std::string handleVersion (Config& conf) // These are the regular configuration variables. std::string recognized = "blanklines color color.active color.due color.overdue color.pri.H " - "color.pri.L color.pri.M color.pri.none color.tagged confirmation curses " - "data.location dateformat default.command default.priority defaultwidth due " - "monthsperline nag newest next oldest project shadow.command shadow.file " - "shadow.notify"; + "color.pri.L color.pri.M color.pri.none color.recurring color.tagged " + "confirmation curses data.location dateformat default.command " + "default.priority defaultwidth due monthsperline nag newest next oldest " + "project shadow.command shadow.file shadow.notify"; // This configuration variable is supported, but not documented. It exists // so that unit tests can force color to be on even when the output from task