From b1b40cacc1eee7137c9b7c505b08b032819ecb0d Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 27 Oct 2014 14:03:50 -0400 Subject: [PATCH] CLI - ::add needed to clear ::_id_ranges and ::_uuid_list so that ::analyze can repopulate them. --- src/CLI.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/CLI.cpp b/src/CLI.cpp index 05f7ff5ff..eebaf90b0 100644 --- a/src/CLI.cpp +++ b/src/CLI.cpp @@ -267,6 +267,10 @@ void CLI::initialize (int argc, const char** argv) // Capture a single argument, and recalc everything. 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); analyze (); }