| 366 | /// Helper function to print `key = value` with optional source |
| 367 | template <class T> |
| 368 | void printNameValueSourceLine(const Options& option, const T& value) { |
| 369 | output_info.write(_("\tOption {} = {}"), option.str(), value); |
| 370 | if (option.hasAttribute("source")) { |
| 371 | // Specify the source of the setting |
| 372 | output_info.write(" ({})", |
| 373 | bout::utils::variantToString(option.attributes.at("source"))); |
| 374 | } |
| 375 | output_info.write("\n"); |
| 376 | } |
| 377 | } // namespace |
| 378 | |
| 379 | template <> |
no test coverage detected