CLI
- Stricter definition of what is an attribute.
This commit is contained in:
@@ -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 (".");
|
||||||
|
|||||||
Reference in New Issue
Block a user