CmdCustom
- Filter args must contain spaces between them. Splitting on token boundaries goes too far and separates '-' from 'tag'.
This commit is contained in:
@@ -87,7 +87,7 @@ int CmdCustom::execute (std::string& output)
|
|||||||
|
|
||||||
// Prepend the argument list with those from the report filter.
|
// Prepend the argument list with those from the report filter.
|
||||||
std::vector <std::string> filterArgs;
|
std::vector <std::string> filterArgs;
|
||||||
Lexer::token_split (filterArgs, reportFilter);
|
Lexer::word_split (filterArgs, reportFilter);
|
||||||
std::vector <std::string>::reverse_iterator arg;
|
std::vector <std::string>::reverse_iterator arg;
|
||||||
for (arg = filterArgs.rbegin (); arg != filterArgs.rend (); ++ arg)
|
for (arg = filterArgs.rbegin (); arg != filterArgs.rend (); ++ arg)
|
||||||
context.parser.captureFirst (*arg);
|
context.parser.captureFirst (*arg);
|
||||||
|
|||||||
Reference in New Issue
Block a user