CLI
- Can now safely re-analyze command line if something changes. This required a ::analzye method to be called late in Context::initialize.
This commit is contained in:
@@ -248,6 +248,7 @@ int Context::initialize (int argc, const char** argv)
|
||||
|
||||
staticInitialization (); // Decouple code from Context.
|
||||
parser.parse (); // Parse all elements.
|
||||
cli.analyze (); // Parse all elements.
|
||||
|
||||
tdb2.set_location (data_dir); // Prepare the task database.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user