| 40 | } |
| 41 | |
| 42 | TString TOpt::GetName() const { |
| 43 | if (LongNames_.empty()) |
| 44 | ythrow TConfException() << "no name for option " << this->ToShortString(); |
| 45 | return LongNames_.at(0); |
| 46 | } |
| 47 | |
| 48 | bool TOpt::IsAllowedShortName(unsigned char c) { |
| 49 | return isprint(c) && TStringBuf::npos == ExcludedShortNameChars.find(c); |
no test coverage detected