Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kučera Petr RNDr. Ph.D.
PCCompile
Commits
6a17033c
Commit
6a17033c
authored
Jul 07, 2021
by
Kučera Petr RNDr. Ph.D.
Browse files
cnfcanon removed commented code
parent
72d0ff16
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/cnfcanon.cpp
View file @
6a17033c
...
...
@@ -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"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment