CLI
- Implemented ::isID.
This commit is contained in:
@@ -485,6 +485,7 @@ void CLI::addArg (const std::string& arg)
|
||||
isConfigOverride (arg) ||
|
||||
isUUIDList (arg) ||
|
||||
isUUID (arg) ||
|
||||
isID (arg) ||
|
||||
isPattern (arg) ||
|
||||
isSubstitution (arg))
|
||||
{
|
||||
@@ -1740,6 +1741,12 @@ bool CLI::isUUID (const std::string& raw) const
|
||||
return false;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool CLI::isID (const std::string& raw) const
|
||||
{
|
||||
return digitsOnly (raw);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool CLI::isPattern (const std::string& raw) const
|
||||
{
|
||||
|
||||
@@ -102,6 +102,7 @@ private:
|
||||
bool isConfigOverride (const std::string&) const;
|
||||
bool isUUIDList (const std::string&) const;
|
||||
bool isUUID (const std::string&) const;
|
||||
bool isID (const std::string&) const;
|
||||
bool isPattern (const std::string&) const;
|
||||
bool isSubstitution (const std::string&) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user