| 322 | } |
| 323 | |
| 324 | static void AppendShortOption(std::stringstream &ss, |
| 325 | const FlatCOption &option) { |
| 326 | if (!option.short_opt.empty()) { |
| 327 | ss << "-" << option.short_opt; |
| 328 | if (!option.long_opt.empty()) { ss << "|"; } |
| 329 | } |
| 330 | if (!option.long_opt.empty()) { ss << "--" << option.long_opt; } |
| 331 | } |
| 332 | |
| 333 | std::string FlatCompiler::GetShortUsageString( |
| 334 | const std::string &program_name) const { |
no test coverage detected