Verbosity
- Deprecated 'rc.edit.verbose'. - Added support for verbosity token 'edit'. - Updated documentation.
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -144,7 +144,7 @@ int CmdShow::execute (std::string& output)
|
||||
" dom"
|
||||
" due"
|
||||
" echo.command" // Deprecated 2.0
|
||||
" edit.verbose"
|
||||
" edit.verbose" // Deprecated 2.0
|
||||
" editor"
|
||||
" exit.on.missing.db"
|
||||
" export.ical.class"
|
||||
|
||||
Reference in New Issue
Block a user