mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 04:27:20 +02:00
TW-1653: info report regression; shouldn't be context sensitive
- Thanks to David Patrick, Tomas Babej.
This commit is contained in:
parent
995de68c90
commit
ffcc574c85
4 changed files with 83 additions and 5 deletions
|
@ -587,11 +587,11 @@ void CLI2::addContextFilter ()
|
|||
// Detect if UUID or ID is set, and bail out
|
||||
for (auto& a : _args)
|
||||
{
|
||||
if ((a._lextype == Lexer::Type::uuid ||
|
||||
a._lextype == Lexer::Type::set) &&
|
||||
a.hasTag ("FILTER"))
|
||||
if (a._lextype == Lexer::Type::uuid ||
|
||||
a._lextype == Lexer::Type::number ||
|
||||
a._lextype == Lexer::Type::set)
|
||||
{
|
||||
context.debug (format ("UUID/ID lexeme found '{1}', not applying context.", a.attribute ("raw")));
|
||||
context.debug (format ("UUID/ID argument found '{1}', not applying context.", a.attribute ("raw")));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue