| 143 | } // namespace fusion |
| 144 | |
| 145 | char* getCmdOption(char** begin, char** end, const std::string& option) |
| 146 | { |
| 147 | char** itr = std::find(begin, end, option); |
| 148 | return itr != end && ++itr != end ? *itr : nullptr; |
| 149 | } |
| 150 | |
| 151 | bool cmdOptionExists(char** begin, char** end, const std::string& option) |
| 152 | { |