CLI
- Implemented ::insert.
This commit is contained in:
12
src/CLI.cpp
12
src/CLI.cpp
@@ -279,6 +279,18 @@ void CLI::add (const std::string& arg)
|
||||
analyze ();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Capture a single argument, after BINARY.
|
||||
void CLI::insert (const std::string& arg)
|
||||
{
|
||||
// Clean the ID/UUID lists, because they will be rebuilt.
|
||||
_id_ranges.clear ();
|
||||
_uuid_list.clear ();
|
||||
|
||||
addArg (arg, true);
|
||||
analyze ();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Intended to be called after ::initialize() and ::add(), to perform the final
|
||||
// analysis. Analysis is also performed directly after the above, because there
|
||||
|
||||
Reference in New Issue
Block a user