| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include <string> |
| 4 | #include <boost/program_options.hpp> |
| 5 | |
| 6 | |
| 7 | namespace po = boost::program_options; |
| 8 | |
| 9 | |
| 10 | uint16_t getTerminalWidth(); |
| 11 | |
| 12 | /** Creates po::options_description with name and an appropriate size for option displaying |
| 13 | * when program is called with option --help |
| 14 | * */ |
| 15 | po::options_description createOptionsDescription(const std::string &caption, unsigned short terminal_width); |
| 16 | |
| 17 |