3 #include <boost/program_options.hpp>
12 : m_argc(_argc), m_argv(_argv), m_parse_result(0), m_free_p(false) {}
19 err_log() <<
"Error parsing query: '" << _args <<
"'" << std::endl;
23 err_log() <<
"Check for illegal unescaped characters: |, &, ;, <, >, "
29 err_log() <<
"Check 'man wordexp' for error code meaning" << std::endl;
50 po::store(po::parse_command_line(
parse.argc(),
parse.argv(), opt.
desc()),
CLIParse(int _argc, char **_argv)
Non-owning.
const po::options_description & desc()
Get the program options, filled with the initialized values.
po::variables_map & vm()
Get the variables map.
void parse_args(Completer::OptionHandlerBase &opt, std::string args)
void parse(InputParser< ConfigEnumOptions > &parser, std::string method_name, PrimClex const &primclex, DataFormatterDictionary< Configuration > const &dict)