| 110 | } |
| 111 | |
| 112 | bool Arguments::isSet(const std::string &flag) const { |
| 113 | utils::optional<Flag> opt_flag = getFlag(flag); |
| 114 | if (!opt_flag) { |
| 115 | return false; |
| 116 | } |
| 117 | return utils::haveCommonItem(opt_flag->names, flags_); |
| 118 | } |
| 119 | |
| 120 | Arguments Arguments::parse(int argc, char* argv[]) { |
| 121 | Arguments args; |
no test coverage detected