Deprecated Feature

- Deprecated '_query' alias.
This commit is contained in:
Paul Beckingham 2014-01-26 13:34:04 -05:00
parent 38c460d713
commit 2036ebf03e
4 changed files with 7 additions and 2 deletions

View file

@ -10,6 +10,7 @@ Features
token..
+ Includes utility 'calc' for quick command line calculations using the new
expression evaluator.
+ Deprecated '_query' alias.
+ Removed deprecated 'push', 'pull' and 'merge' commands.
Bugs

2
NEWS
View file

@ -14,7 +14,7 @@ New configuration options in taskwarrior 2.4.0
Newly deprecated features in taskwarrior 2.4.0
-
- The alias '_query' is deprecated.
Known Issues

View file

@ -307,7 +307,7 @@ std::string Config::_defaults =
"alias.rm=delete # Alias for the delete command\n"
"alias.history=history.monthly # Prefer monthly over annual history reports\n"
"alias.ghistory=ghistory.monthly # Prefer monthly graphical over annual history reports\n"
"alias._query=export # _query is now export\n"
"alias._query=export # _query is now export\n" // DEPRECATED in 2.4.0
"alias.burndown=burndown.weekly # Prefer the weekly burndown chart\n"
"alias.shell=exec tasksh # Alias old shell command to new shell\n"
"\n"

View file

@ -153,6 +153,10 @@ std::string legacyCheckForDeprecatedVariables ()
it->first == "annotations" ||
it->first == "export.ical.class")
deprecated.push_back (it->first);
// Deprecated іn 2.4.0.
if (it->first == "alias._query")
deprecated.push_back (it->first);
}
std::stringstream out;