CLI
- Removed reset of _program on ::add, which never gets restored.
This commit is contained in:
@@ -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 ();
|
||||||
|
|||||||
Reference in New Issue
Block a user