This commit is contained in:
Branimir Karadžić
2017-02-18 21:29:33 -08:00
parent 5bcbf1bd70
commit db5e1d9b8f
11 changed files with 94 additions and 52 deletions

View File

@@ -175,13 +175,13 @@ namespace bx
bool CommandLine::hasArg(const char _short, const char* _long) const
{
const char* arg = findOption(_short, _long, 0);
const char* arg = findOption(_short, _long, int32_t(0) );
return NULL != arg;
}
bool CommandLine::hasArg(const char* _long) const
{
const char* arg = findOption('\0', _long, 0);
const char* arg = findOption('\0', _long, int32_t(0) );
return NULL != arg;
}