25 #include <boost/program_options/options_description.hpp>
59 std::optional<unsigned short>
port;
bool report_timings
Whether to report timing information for server requests.
const std::string & help_text() const
Retrieves the –help text.
std::map< std::string, int > log_domain_levels
Log domain/severity configuration.
std::optional< std::string > config_file
Path to the add-ons server configuration file.
bool version
True if –version was passed.
void parse_log_domains(const std::string &domains_string, int severity)
command_line(int argc, char **argv)
Reads the command line.
bool help
True if –help was passed.
std::optional< std::string > server_dir
Path to the add-ons server storage dir.
std::vector< std::string > args_
bool show_log_domains
True if –logdomains was passed.
std::optional< unsigned short > port
Port number on which the server will listen for incoming connections.
bool log_precise_timestamps
Whether to use higher precision for log timestamps.