CmdCustom

- Filter args must contain spaces between them.  Splitting on token boundaries
  goes too far and separates '-' from 'tag'.
This commit is contained in:
Paul Beckingham 2014-05-31 15:11:24 -04:00
parent a1ee44ac17
commit 382881c0e1

View file

@ -87,7 +87,7 @@ int CmdCustom::execute (std::string& output)
// Prepend the argument list with those from the report filter.
std::vector <std::string> filterArgs;
Lexer::token_split (filterArgs, reportFilter);
Lexer::word_split (filterArgs, reportFilter);
std::vector <std::string>::reverse_iterator arg;
for (arg = filterArgs.rbegin (); arg != filterArgs.rend (); ++ arg)
context.parser.captureFirst (*arg);