| 42 | |
| 43 | |
| 44 | bool OptionProcessor::process(const std::string& argument, std::string& optionName, std::string& optionArg) |
| 45 | { |
| 46 | optionName.clear(); |
| 47 | optionArg.clear(); |
| 48 | if (!_ignore) |
| 49 | { |
| 50 | if (!_deferredOption.empty()) |
| 51 | return processCommon(argument, false, optionName, optionArg); |
| 52 | else if (_unixStyle) |
| 53 | return processUnix(argument, optionName, optionArg); |
| 54 | else |
| 55 | return processDefault(argument, optionName, optionArg); |
| 56 | } |
| 57 | return false; |
| 58 | } |
| 59 | |
| 60 | |
| 61 | void OptionProcessor::checkRequired() const |
no test coverage detected