CLI: Added ::analyze and called it

This commit is contained in:
Paul Beckingham 2016-04-02 15:49:39 -04:00
parent 021297edd5
commit 0ddc2d4d7f
3 changed files with 11 additions and 0 deletions

View file

@ -135,6 +135,14 @@ void CLI::add (const std::string& argument)
_args.clear ();
}
////////////////////////////////////////////////////////////////////////////////
// Intended to be called after ::add() to perform the final analysis.
void CLI::analyze ()
{
// Process _original_args.
_args.clear ();
}
////////////////////////////////////////////////////////////////////////////////
// Search for 'value' in _entities category, return canonicalized value.
bool CLI::canonicalize (