CLI2: Trim incoming raw args
This commit is contained in:
@@ -368,7 +368,7 @@ void CLI2::entity (const std::string& category, const std::string& name)
|
||||
// Capture a single argument.
|
||||
void CLI2::add (const std::string& argument)
|
||||
{
|
||||
_original_args.push_back (argument);
|
||||
_original_args.push_back (trim (argument));
|
||||
|
||||
// Adding a new argument invalidates prior analysis.
|
||||
_args.clear ();
|
||||
|
||||
Reference in New Issue
Block a user