diff --git a/src/CLI.cpp b/src/CLI.cpp index 648a4b7bd..d508a3782 100644 --- a/src/CLI.cpp +++ b/src/CLI.cpp @@ -1691,6 +1691,15 @@ void CLI::decomposeModSubstitutions () } } +//////////////////////////////////////////////////////////////////////////////// +bool CLI::isRCOverride (const std::string& raw) const +{ + if (raw.length () > 3 && raw.substr (0, 3) == "rc:") + return true; + + return false; +} + //////////////////////////////////////////////////////////////////////////////// bool CLI::isUUID (const std::string& raw) const { diff --git a/src/CLI.h b/src/CLI.h index 009dfff0d..070a97234 100644 --- a/src/CLI.h +++ b/src/CLI.h @@ -98,6 +98,7 @@ private: void decomposeModTags (); void decomposeModSubstitutions (); + bool isRCOverride (const std::string&) const; bool isUUID (const std::string&) const; public: