mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Deprecated Feature Removal
- Removed deprecated 'edit.verbose' setting, in favor of the 'edit' verbosity token..
This commit is contained in:
parent
2cbae3fb9c
commit
626f89c263
5 changed files with 4 additions and 12 deletions
|
@ -3,6 +3,8 @@
|
|||
Features
|
||||
+ Removed deprecated 'echo.command' setting, in favor of the 'header' and
|
||||
'affected' verbosity tokens.
|
||||
+ Removed deprecated 'edit.verbose' setting, in favor of the 'edit' verbosity
|
||||
token..
|
||||
|
||||
Bugs
|
||||
|
||||
|
|
|
@ -222,13 +222,6 @@ command is used. Taskwarrior will first look for this configuration variable. If
|
|||
found, it is used. Otherwise it will look for the $VISUAL or $EDITOR
|
||||
environment variables, before it defaults to using "vi".
|
||||
|
||||
.TP
|
||||
.B edit.verbose=on
|
||||
When set to on (the default), helpful explanatory comments are added to the
|
||||
edited file when using the "task edit ..." command. Setting this to off means
|
||||
that you would see a smaller, more compact representation of the task, with no
|
||||
help text. Deprecated - use verbosity token 'edit'.
|
||||
|
||||
.TP
|
||||
.B reserved.lines=1
|
||||
This is the number of lines reserved at the bottom of the screen for the shell
|
||||
|
|
|
@ -160,8 +160,7 @@ std::string CmdEdit::formatDuration (
|
|||
std::string CmdEdit::formatTask (Task task, const std::string& dateformat)
|
||||
{
|
||||
std::stringstream before;
|
||||
bool verbose = context.verbose ("edit") ||
|
||||
context.config.getBoolean ("edit.verbose"); // Deprecated 2.0
|
||||
bool verbose = context.verbose ("edit");
|
||||
|
||||
if (verbose)
|
||||
before << "# " << STRING_EDIT_HEADER_1 << "\n"
|
||||
|
|
|
@ -146,7 +146,6 @@ int CmdShow::execute (std::string& output)
|
|||
" displayweeknumber"
|
||||
" dom"
|
||||
" due"
|
||||
" edit.verbose" // Deprecated 2.0
|
||||
" editor"
|
||||
" exit.on.missing.db"
|
||||
" expressions"
|
||||
|
|
|
@ -148,8 +148,7 @@ std::string legacyCheckForDeprecatedVariables ()
|
|||
it->first.substr (it->first.length () - 12) == ".annotations")
|
||||
deprecated.push_back (it->first);
|
||||
|
||||
if (it->first == "edit.verbose" ||
|
||||
it->first == "next" ||
|
||||
if (it->first == "next" ||
|
||||
it->first == "annotations" ||
|
||||
it->first == "export.ical.class")
|
||||
deprecated.push_back (it->first);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue