Documentation Update

- Updated the taskrc.5 man page to match 1.9.0 functionality.
- Removed obsolete colorizeMessage code.
This commit is contained in:
Paul Beckingham 2010-01-30 16:08:42 -05:00
parent 30e8b03038
commit ea8b4beede
4 changed files with 215 additions and 124 deletions

View file

@ -78,7 +78,7 @@ std::string Config::defaults =
"calendar.details=sparse # Calendar shows information for tasks w/due dates: full, sparse or none\n"
"calendar.details.report=list # Report to use when showing task information in cal\n"
"calendar.holidays=none # Show public holidays on calendar:full, sparse or none\n"
"#monthsperline=3 # Number of calendar months on a line\n" // TODO
"#monthsperline=3 # Number of calendar months on a line\n"
"\n"
"# Color controls.\n"
"color=on # Enable color\n"

View file

@ -118,7 +118,6 @@ void validSortColumns (const std::vector <std::string>&, const std::vector <std:
void initializeColorRules ();
void autoColorize (Task&, Color&);
std::string colorizeHeader (const std::string&);
std::string colorizeMessage (const std::string&);
std::string colorizeFootnote (const std::string&);
std::string colorizeDebug (const std::string&);

View file

@ -165,15 +165,6 @@ std::string colorizeHeader (const std::string& input)
return input;
}
////////////////////////////////////////////////////////////////////////////////
std::string colorizeMessage (const std::string& input)
{
if (gsColor["color.message"].nontrivial ())
return gsColor["color.message"].colorize (input);
return input;
}
////////////////////////////////////////////////////////////////////////////////
std::string colorizeFootnote (const std::string& input)
{