mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CLI2: Removed command-specific logic in addContextFilter
- This is now driven by command DNA.
This commit is contained in:
parent
7d5fad721e
commit
1921ed77d5
1 changed files with 0 additions and 10 deletions
10
src/CLI2.cpp
10
src/CLI2.cpp
|
@ -562,16 +562,6 @@ void CLI2::addContextFilter ()
|
|||
return;
|
||||
}
|
||||
|
||||
// Some commands operate independently of context.
|
||||
auto cmd = getCommand ();
|
||||
if (cmd == "undo" ||
|
||||
cmd == "export" ||
|
||||
cmd[0] == '_')
|
||||
{
|
||||
context.debug ("Context-free command.");
|
||||
return;
|
||||
}
|
||||
|
||||
// Detect if UUID or ID is set, and bail out
|
||||
for (auto& a : _args)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue