- An attribute name may not contains spaces.
This commit is contained in:
Paul Beckingham 2014-11-03 22:18:34 -05:00
parent d9c4ff0700
commit 5a293b1f28

View file

@ -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)