mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Alias
- Integrated new Alias object into new command line processing.
This commit is contained in:
parent
93e28c1707
commit
a353cbaf91
3 changed files with 7 additions and 2 deletions
|
@ -153,6 +153,8 @@ int Context::initialize (int argc, const char** argv)
|
|||
loadAliases ();
|
||||
a3.resolve_aliases ();
|
||||
a3t.findAliases ();
|
||||
aliases2.load ();
|
||||
aliases2.resolve (a3t.tree ());
|
||||
|
||||
// Initialize the color rules, if necessary.
|
||||
if (color ())
|
||||
|
@ -219,8 +221,8 @@ int Context::initialize (int argc, const char** argv)
|
|||
|
||||
// TODO Uncommenting this breaks unit tests because of the errors it
|
||||
// generates.
|
||||
Tree* parseTree = NULL;
|
||||
//Tree* parseTree = a3t.parse ();
|
||||
//Tree* parseTree = NULL;
|
||||
Tree* parseTree = a3t.parse ();
|
||||
|
||||
// Initialize the command line parser.
|
||||
if (parseTree && config.getBoolean ("debug"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue