Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correcting command line argument for '--max_time' #373

Merged
merged 3 commits into from
Aug 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions tools/stp/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ void ExtraMain::create_options()
po::bool_switch(&(bm->UserFlags.print_STPinput_back_dot_flag)),
"print dotty/neato's graph format, then exit")(
"print-counterex,p",
po::bool_switch(&(bm->UserFlags.print_counterexample_flag)),
po::bool_switch(&(bm->UserFlags.print_counterexample_flag)),
"print counterexample")(
"print-counterexbin,y",
po::bool_switch(&(bm->UserFlags.print_binary_flag)),
Expand Down Expand Up @@ -361,7 +361,7 @@ void ExtraMain::create_options()
"Number of conflicts after which the SAT solver gives up. "
"-1 means never")

("max-time,max_time,g",
("max-time,max_time,k",
INT64_ARG(bm->UserFlags.timeout_max_time),
"Number of seconds after which the SAT solver gives up. "
"-1 means never.")
Expand All @@ -370,6 +370,7 @@ void ExtraMain::create_options()
po::bool_switch(&(bm->UserFlags.check_counterexample_flag)),
"construct counterexample and check it");


#undef BOOL_ARG
#undef INT64_ARG

Expand Down