From d9712322a75ec8f9053b6cf853f58f8b55b7d30d Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Tue, 4 Nov 2014 23:00:07 -0500 Subject: [PATCH] CLI - Stricter definition of what is an attribute. --- src/CLI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CLI.cpp b/src/CLI.cpp index 14a33696c..554885433 100644 --- a/src/CLI.cpp +++ b/src/CLI.cpp @@ -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 (".");