ClickHouse/src/Common/TerminalSize.h
2022-03-14 18:17:35 +00:00

17 lines
407 B
C++

#pragma once
#include <string>
#include <boost/program_options.hpp>
namespace po = boost::program_options;
uint16_t getTerminalWidth();
/** Creates po::options_description with name and an appropriate size for option displaying
* when program is called with option --help
* */
po::options_description createOptionsDescription(const std::string &caption, unsigned short terminal_width); /// NOLINT