| 169 | } |
| 170 | |
| 171 | bool TOpts::HasAnyShortOption() const { |
| 172 | for (const auto& Opt : Opts_) { |
| 173 | const TOpt* opt = Opt.Get(); |
| 174 | if (!opt->GetShortNames().empty()) |
| 175 | return true; |
| 176 | } |
| 177 | return false; |
| 178 | } |
| 179 | |
| 180 | bool TOpts::HasAnyLongOption() const { |
| 181 | for (const auto& Opt : Opts_) { |
no test coverage detected