mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-30 11:27:19 +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;
|
return false;
|
||||||
|
|
||||||
// No spaces in name.
|
// No spaces in name.
|
||||||
if (attr.find (' ') != std::string::npos)
|
if (! isName (attr))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
std::string::size_type dot = attr.find (".");
|
std::string::size_type dot = attr.find (".");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue