mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CmdCustom
- Filter args must contain spaces between them. Splitting on token boundaries goes too far and separates '-' from 'tag'.
This commit is contained in:
parent
a1ee44ac17
commit
382881c0e1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue