mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Entities: There is no spoon^H^H^H^H^Huda entity
- The code was trying to canonicalize 'attribute' and 'uda' separately, but there are no 'uda' entities.
This commit is contained in:
parent
264dae02bc
commit
b92802c2fb
2 changed files with 3 additions and 6 deletions
|
@ -73,8 +73,7 @@ int CmdUnique::execute (std::string& output)
|
|||
throw std::string (STRING_CMD_UNIQUE_MISSING);
|
||||
|
||||
std::string canonical;
|
||||
if (! context.cli2.canonicalize (canonical, "attribute", attribute) &&
|
||||
! context.cli2.canonicalize (canonical, "uda", attribute))
|
||||
if (! context.cli2.canonicalize (canonical, "attribute", attribute))
|
||||
throw std::string (STRING_CMD_UNIQUE_VALID);
|
||||
|
||||
// Find number of matching tasks.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue