Turn -noX into -X=0 */
| 326 | |
| 327 | /** Turn -noX into -X=0 */ |
| 328 | static void InterpretNegativeSetting(std::string& strKey, std::string& strValue) |
| 329 | { |
| 330 | if (strKey.length()>3 && strKey[0]=='-' && strKey[1]=='n' && strKey[2]=='o') |
| 331 | { |
| 332 | strKey = "-" + strKey.substr(3); |
| 333 | strValue = InterpretBool(strValue) ? "0" : "1"; |
| 334 | } |
| 335 | } |
| 336 | |
| 337 | void ParseParameters(int argc, const char* const argv[]) |
| 338 | { |
no test coverage detected