Verbosity

- Deprecated 'rc.edit.verbose'.
- Added support for verbosity token 'edit'.
- Updated documentation.
This commit is contained in:
Paul Beckingham 2011-10-01 11:34:05 -04:00
parent 8ccce069d9
commit 160c9708a5
6 changed files with 12 additions and 6 deletions

View file

@ -138,7 +138,8 @@ std::string CmdEdit::formatDate (
std::string CmdEdit::formatTask (Task task)
{
std::stringstream before;
bool verbose = context.config.getBoolean ("edit.verbose");
bool verbose = context.verbose ("edit") ||
context.config.getBoolean ("edit.verbose"); // Deprecated 2.0
if (verbose)
before << "# The 'task edit <id>' command allows you to modify all aspects of a task\n"