@todo Add help for single option
| 145 | |
| 146 | /// @todo Add help for single option |
| 147 | void print_options(const po::options_description& options) |
| 148 | { |
| 149 | #if defined(_MSC_VER) && defined(_UNICODE) |
| 150 | // See issue https://svn.boost.org/trac10/ticket/10952 |
| 151 | std::ostringstream temp; |
| 152 | temp << options; |
| 153 | cout_ << "\n" << temp.str().c_str(); |
| 154 | #else |
| 155 | cout_ << "\n" << options; |
| 156 | #endif |
| 157 | cout_ << std::endl; |
| 158 | } |
| 159 | |
| 160 | template <typename T> |
| 161 | T change_extension(const T& fn, const T& ext) { |