mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 22:33:08 +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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ CmdInfo::CmdInfo ()
|
|||
// Once the test suite is completely modified, this can be corrected.
|
||||
_displays_id = false;
|
||||
_needs_gc = false;
|
||||
_uses_context = true;
|
||||
_uses_context = false;
|
||||
_accepts_filter = true;
|
||||
_accepts_modifications = false;
|
||||
_accepts_miscellaneous = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue