mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Context: Corrected ::dispatch determination of need for CLI2::prepareFilter
This commit is contained in:
parent
274d3dddd0
commit
4a9a515a36
1 changed files with 2 additions and 2 deletions
|
@ -444,7 +444,7 @@ int Context::dispatch (std::string &out)
|
|||
|
||||
// This is something that is only needed for write commands with no other
|
||||
// filter processing.
|
||||
if (! c->read_only () &&
|
||||
if (c->accepts_modifications () &&
|
||||
! c->accepts_filter ())
|
||||
{
|
||||
cli2.prepareFilter ();
|
||||
|
@ -455,7 +455,7 @@ int Context::dispatch (std::string &out)
|
|||
// tree.
|
||||
if (config.getBoolean ("debug") &&
|
||||
config.getInteger ("debug.parser") == 1)
|
||||
debug (cli2.dump ("Parse Tree"));
|
||||
debug (cli2.dump ("Parse Tree (before command-specifіc processing)"));
|
||||
|
||||
return c->execute (out);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue