CLI
- ::add needed to clear ::_id_ranges and ::_uuid_list so that ::analyze can repopulate them.
This commit is contained in:
@@ -267,6 +267,10 @@ void CLI::initialize (int argc, const char** argv)
|
|||||||
// Capture a single argument, and recalc everything.
|
// Capture a single argument, and recalc everything.
|
||||||
void CLI::add (const std::string& arg)
|
void CLI::add (const std::string& arg)
|
||||||
{
|
{
|
||||||
|
// Clean the ID/UUID lists, because they will be rebuilt.
|
||||||
|
_id_ranges.clear ();
|
||||||
|
_uuid_list.clear ();
|
||||||
|
|
||||||
addArg (arg);
|
addArg (arg);
|
||||||
analyze ();
|
analyze ();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user