CLI2: Implemented simple argument capture, with no processing.

This commit is contained in:
Paul Beckingham 2015-06-13 14:13:19 -04:00
parent ec5876d56b
commit 23786515f9
3 changed files with 13 additions and 1 deletions

View file

@ -330,6 +330,13 @@ void CLI2::entity (const std::string& category, const std::string& name)
_entities.insert (std::pair <std::string, std::string> (category, name));
}
////////////////////////////////////////////////////////////////////////////////
// Capture a single argument.
void CLI2::add (const std::string& argument)
{
_original_args.push_back (argument);
}
/*
////////////////////////////////////////////////////////////////////////////////
// Capture the original, intact command line arguments.