From 0b67dfa38c0afdf3dbf4bb8d1dbf6cfa8c419635 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 16 Jan 2010 14:58:50 -0500 Subject: [PATCH] Review - Config defaults - Pass 1 of the review, identifying variables that may need to be changed. --- src/Config.cpp | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/src/Config.cpp b/src/Config.cpp index eec6b148f..cefde2359 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -62,17 +62,17 @@ std::string Config::defaults = "annotation.details=2 # Level of verbosity for annotations in reports\n" "next=2 # How many tasks per project in next report\n" "bulk=2 # > 2 tasks considered 'a lot', for confirmation\n" - "nag=You have higher priority tasks. # Nag message to keep you honest\n" + "nag=You have higher priority tasks. # Nag message to keep you honest\n" // TODO "\n" "# Dates\n" "dateformat=m/d/Y # Preferred input and display date format\n" - "#reportdateformat=m/d/Y # Preferred input and display date format\n" - "weekstart=Sunday # Sunday or Monday only\n" - "displayweeknumber=yes # Show week numbers on calendar\n" + "#reportdateformat=m/d/Y # Preferred display date format for repors\n" + "weekstart=Sunday # Sunday or Monday only\n" // TODO + "displayweeknumber=yes # Show week numbers on calendar\n" // TODO "due=7 # Task is considered due in 7 days\n" "#calendar.details=yes # Calendar shows information for tasks w/due dates\n" - "#calendar.details.report=list # Report to use when showing task information in cal\n" - "#monthsperline=3 # Number of calendar months on a line\n" + "#calendar.details.report=list # Report to use when showing task information in cal\n" // TODO + "#monthsperline=3 # Number of calendar months on a line\n" // TODO "\n" "# Color controls.\n" "color=on # Enable color\n" @@ -101,21 +101,22 @@ std::string Config::defaults = "color.history.delete=on yellow # Color of deleted tasks in the history reports\n" "color.history.done=on green # Color of completed tasks in the history reports\n" "\n" + "# Shadow file support\n" "#shadow.file=/tmp/shadow.txt # Location of shadow file\n" "#shadow.command=list # Task command for shadow file\n" "#shadow.notify=on # Footnote when updated\n" "\n" "#default.project=foo # Default project for 'add' command\n" "#default.priority=M # Default priority for 'add' command\n" - "default.command=list # When no arguments are specified\n" + "default.command=list # When no arguments are specified\n" // TODO "\n" "_forcecolor=no # Forces color to be on, even for non TTY output\n" "blanklines=true # Use more whitespace in output\n" - "complete.all.projects=no # Include old project names in 'projects' command\n" - "complete.all.tags=no # Include old tag names in 'tags' command\n" + "complete.all.projects=no # Include old project names in 'projects' command\n" // TODO + "complete.all.tags=no # Include old tag names in 'tags' command\n" // TODO "debug=no # Display diagnostics\n" "fontunderline=yes # Uses underlines rather than -------\n" - "shell.prompt=task> # Prompt used by the shell command\n" + "shell.prompt=task> # Prompt used by the shell command\n" // TODO "\n" "# Import heuristics - alternate names for fields (comma-separated list of names)\n" "#import.synonym.bg=?\n" @@ -133,12 +134,13 @@ std::string Config::defaults = "#import.synonym.tags=?\n" "#import.synonym.uuid=?\n" "\n" + "# Aliases - alternate names for commands\n" "alias.rm=delete # Alias for the delete command\n" "\n" - "# Fields: id,uuid,project,priority,priority_long,entry,entry_time,\n" - "# start,entry_time,due,recur,recurrence_indicator,age,\n" - "# age_compact,active,tags,tag_indicator,description,\n" - "# description_only,end,end_time\n" + "# Fields: id,uuid,project,priority,priority_long,entry,entry_time,\n" // TODO + "# start,entry_time,due,recur,recurrence_indicator,age,\n" // TODO + "# age_compact,active,tags,tag_indicator,description,\n" // TODO + "# description_only,end,end_time\n" // TODO "# Description: This report is ...\n" "# Sort: due+,priority-,project+\n" "# Filter: pro:x pri:H +bug limit:10\n"