mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-30 02:17:21 +02:00
CLI
- Stricter definition of what is an attribute.
This commit is contained in:
parent
55962058de
commit
d9712322a7
1 changed files with 1 additions and 1 deletions
|
@ -2202,7 +2202,7 @@ bool CLI::isAttribute (const std::string& raw) const
|
|||
return false;
|
||||
|
||||
// No spaces in name.
|
||||
if (attr.find (' ') != std::string::npos)
|
||||
if (! isName (attr))
|
||||
return false;
|
||||
|
||||
std::string::size_type dot = attr.find (".");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue