Skip to content

Commit 0fb4868

Browse files
Enable list-goto-functions in goto-analyzer
1 parent 2fabbd4 commit 0fb4868

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/goto-analyzer/goto_analyzer_parse_options.cpp

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -431,9 +431,15 @@ int goto_analyzer_parse_optionst::doit()
431431
}
432432

433433
// show it?
434-
if(cmdline.isset("show-goto-functions"))
435-
{
436-
show_goto_functions(goto_model, get_ui());
434+
if(
435+
cmdline.isset("show-goto-functions") ||
436+
cmdline.isset("list-goto-functions"))
437+
{
438+
show_goto_functions(
439+
goto_model,
440+
get_message_handler(),
441+
get_ui(),
442+
cmdline.isset("list-goto-functions"));
437443
return CPROVER_EXIT_SUCCESS;
438444
}
439445

0 commit comments

Comments
 (0)