mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CLI
- An attribute name may not contains spaces.
This commit is contained in:
parent
d9c4ff0700
commit
5a293b1f28
1 changed files with 4 additions and 0 deletions
|
@ -2205,6 +2205,10 @@ bool CLI::isAttribute (const std::string& raw) const
|
|||
else
|
||||
return false;
|
||||
|
||||
// No spaces in name.
|
||||
if (attr.find (' ') != std::string::npos)
|
||||
return false;
|
||||
|
||||
std::string::size_type dot = attr.find (".");
|
||||
std::string mod = "";
|
||||
if (dot != std::string::npos)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue