Skip to content

Commit 33c65d8

Browse files
author
martin
committed
Change the default behaviour of --intervals from --show to --verify.
goto-analyzer supports --intervals alone as a legacy option, as well as part of a task / interpreter / domain triple. This patch changes the behaviour of the stand alone mode from --show to --verify.
1 parent 591a7a1 commit 33c65d8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/goto-analyzer/goto_analyzer_parse_options.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,10 @@ void goto_analyzer_parse_optionst::get_command_line_options(optionst &options)
229229
}
230230
else if(cmdline.isset("intervals") || cmdline.isset("non-null"))
231231
{
232-
// For backwards compatibility either of these on their own means show
233-
options.set_option("show", true);
232+
// Partial backwards compatability, just giving these domains without
233+
// a task will work. However it will use the general default of verify
234+
// rather than their historical default of show.
235+
options.set_option("verify", true);
234236
options.set_option("general-analysis", true);
235237
}
236238

0 commit comments

Comments
 (0)