Changed the argument parser to accept strings that start with a - as being

valid strings.
This commit is contained in:
Robert Osfield
2004-10-01 18:32:42 +00:00
parent 72e3ac35a0
commit 5ecfb11e1b

View File

@@ -15,7 +15,8 @@ bool ArgumentParser::isOption(const char* str)
bool ArgumentParser::isString(const char* str)
{
if (!str) return false;
return !isOption(str);
return true;
//return !isOption(str);
}
bool ArgumentParser::isNumber(const char* str)