- Removed reset of _program on ::add, which never gets restored.
This commit is contained in:
Paul Beckingham
2014-10-14 23:40:13 -04:00
parent d6e11761a6
commit f353e1f3d5

View File

@@ -96,10 +96,10 @@ void CLI::initialize (int argc, const char** argv)
} }
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// Capture a single argument, and recalc everything.
void CLI::add (const std::string& arg) void CLI::add (const std::string& arg)
{ {
// Clean what needs to be cleaned. Most in this case. // Clean what needs to be cleaned. Most in this case.
_program = "";
_args.clear (); _args.clear ();
_rc = ""; _rc = "";
_overrides.clear (); _overrides.clear ();