mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Context
- Removed calls to now-private methods.
This commit is contained in:
parent
51a98609d9
commit
6d64472826
1 changed files with 0 additions and 7 deletions
|
@ -109,10 +109,6 @@ int Context::initialize (int argc, const char** argv)
|
|||
// Scan command line for 'rc:<file>' only.
|
||||
Parser::getOverrides (argc, argv, rc_file._data);
|
||||
cli.initialize (argc, argv); // task arg0 arg1 ...
|
||||
/*
|
||||
std::cout << "# cli._rc=" << cli._rc << "\n";
|
||||
rc_file = cli._rc;
|
||||
*/
|
||||
|
||||
// TASKRC environment variable overrides the command line.
|
||||
char* override = getenv ("TASKRC");
|
||||
|
@ -243,8 +239,6 @@ int Context::initialize (int argc, const char** argv)
|
|||
}
|
||||
|
||||
// Now the entities are loaded, parsing may resume.
|
||||
cli.aliasExpansion ();
|
||||
|
||||
parser.findBinary (); // <task|tw|t|cal|calendar>
|
||||
parser.resolveAliases ();
|
||||
parser.findCommand (); // <cmd>
|
||||
|
@ -254,7 +248,6 @@ int Context::initialize (int argc, const char** argv)
|
|||
|
||||
staticInitialization (); // Decouple code from Context.
|
||||
parser.parse (); // Parse all elements.
|
||||
cli.categorize (); // Parse high-level elements.
|
||||
|
||||
tdb2.set_location (data_dir); // Prepare the task database.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue