Check if input option exists in input arguments. If it does: return false in value, erase the argument and return true. If it does not: return false.
| 256 | //! If it does: return false in value, erase the argument and return true. |
| 257 | //! If it does not: return false. |
| 258 | bool getAndDelNegOption(Arguments& arguments, const std::string& option, bool& value) |
| 259 | { |
| 260 | bool dummy; |
| 261 | if (getAndDelOption(arguments, option, dummy)) |
| 262 | { |
| 263 | value = false; |
| 264 | return true; |
| 265 | } |
| 266 | return false; |
| 267 | } |
| 268 | |
| 269 | //! Check if input option exists in input arguments. |
| 270 | //! If it does: add all the matched arg values to values vector, erase the argument and return true. |
no test coverage detected