mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-31 17:03:30 +02:00
Documentation Update
- Updated the taskrc.5 man page to match 1.9.0 functionality. - Removed obsolete colorizeMessage code.
This commit is contained in:
parent
30e8b03038
commit
ea8b4beede
4 changed files with 215 additions and 124 deletions
|
@ -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"
|
||||
|
|
|
@ -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&);
|
||||
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue