| 1258 | } |
| 1259 | |
| 1260 | bool ASConsole::isParamOption(const string &arg, const char* option) |
| 1261 | { |
| 1262 | bool retVal = arg.compare(0, strlen(option), option) == 0; |
| 1263 | // if comparing for short option, 2nd char of arg must be numeric |
| 1264 | if (retVal && strlen(option) == 1 && arg.length() > 1) |
| 1265 | if (!isdigit((unsigned char)arg[1])) |
| 1266 | retVal = false; |
| 1267 | return retVal; |
| 1268 | } |
| 1269 | |
| 1270 | // compare a path to the exclude vector |
| 1271 | // used for both directories and filenames |
nothing calls this directly
no outgoing calls
no test coverage detected