Deprecated

- Made proper note of deprecated configuration variables.
This commit is contained in:
Paul Beckingham 2012-03-06 01:22:16 -05:00
parent 202959898d
commit 0ac9a4b3df
2 changed files with 6 additions and 1 deletions

View file

@ -72,7 +72,6 @@ int CmdShow::execute (std::string& output)
std::string recognized =
" abbreviation.minimum"
" active.indicator"
" annotations"
" avoidlastcolumn"
" bulk"
" burndown.bias"

View file

@ -145,9 +145,15 @@ std::string legacyCheckForDeprecatedVariables ()
it->first.substr (it->first.length () - 6) == ".limit")
deprecated.push_back (it->first);
// report.*.annotaitons
if (it->first.substr (0, 7) == "report." &&
it->first.substr (it->first.length () - 12) == ".annotations")
deprecated.push_back (it->first);
if (it->first == "echo.command" ||
it->first == "edit.verbose" ||
it->first == "next" ||
it->first == "annotations" ||
it->first == "export.ical.class")
deprecated.push_back (it->first);
}