From 382881c0e11e50e82daf053c01a91af0e365a72b Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 31 May 2014 15:11:24 -0400 Subject: [PATCH] CmdCustom - Filter args must contain spaces between them. Splitting on token boundaries goes too far and separates '-' from 'tag'. --- src/commands/CmdCustom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/CmdCustom.cpp b/src/commands/CmdCustom.cpp index 530668895..078dcacbe 100644 --- a/src/commands/CmdCustom.cpp +++ b/src/commands/CmdCustom.cpp @@ -87,7 +87,7 @@ int CmdCustom::execute (std::string& output) // Prepend the argument list with those from the report filter. std::vector filterArgs; - Lexer::token_split (filterArgs, reportFilter); + Lexer::word_split (filterArgs, reportFilter); std::vector ::reverse_iterator arg; for (arg = filterArgs.rbegin (); arg != filterArgs.rend (); ++ arg) context.parser.captureFirst (*arg);