Commit 6a17033c authored by Kučera Petr RNDr. Ph.D.'s avatar Kučera Petr RNDr. Ph.D.
Browse files

cnfcanon removed commented code

parent 72d0ff16
......@@ -52,28 +52,6 @@ parse_arguments(int argc, char *argv[])
try
{
std::string process;
/*auto visible = SUBool::prg_common_opts("Allowed options",
conf.verbosity); visible.add_options()("process,p",
po::value<std::string>(&process)->default_value(
process_names.at(static_cast<unsigned>(conf.process))),
kProcessOptDesc);
auto [hidden, positional] =
SUBool::prg_input_output_opts(conf.input_file, conf.output_file);
po::options_description desc;
desc.add(visible).add(hidden);
po::variables_map vm;
po::store(po::command_line_parser(argc, argv)
.options(desc)
.positional(positional)
.run(),
vm);
po::notify(vm);
if (!SUBool::prg_process_common_opts(
std::cout, visible, "[input [output]]", vm))
{
return {};
}*/
SUBool::PrgOptions opts(true);
opts.InputOutput(conf.input_file, conf.output_file);
po::options_description desc("Configuration options");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment