| 281 | } |
| 282 | |
| 283 | static bool is_bool_arg(const common_arg & arg) { |
| 284 | return !arg.args_neg.empty(); |
| 285 | } |
| 286 | |
| 287 | static std::string parse_bool_arg(const common_arg & arg, const std::string & key, const std::string & value) { |
| 288 | // if this is a negated arg, we need to reverse the value |