Skip to content

Commit f4e6fbf

Browse files
author
Daniel Kroening
authored
Merge pull request diffblue#3437 from martin-cs/feature/goto-analyzer-verify-as-default
Feature/goto analyzer verify as default
2 parents df5e3b8 + 33c65d8 commit f4e6fbf

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/goto-analyzer/goto_analyzer_parse_options.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ void goto_analyzer_parse_optionst::get_command_line_options(optionst &options)
225225
options.set_option("intervals", true);
226226
options.set_option("domain set", true);
227227
}
228-
else if(cmdline.isset("(show-non-null)"))
228+
else if(cmdline.isset("show-non-null"))
229229
{
230230
// For backwards compatibility
231231
options.set_option("show", true);
@@ -235,8 +235,10 @@ void goto_analyzer_parse_optionst::get_command_line_options(optionst &options)
235235
}
236236
else if(cmdline.isset("intervals") || cmdline.isset("non-null"))
237237
{
238-
// For backwards compatibility either of these on their own means show
239-
options.set_option("show", true);
238+
// Partial backwards compatability, just giving these domains without
239+
// a task will work. However it will use the general default of verify
240+
// rather than their historical default of show.
241+
options.set_option("verify", true);
240242
options.set_option("general-analysis", true);
241243
}
242244

0 commit comments

Comments
 (0)