Skip to content

Commit fee1d3e

Browse files
authored
Merge pull request #7316 from tautschnig/bugfixes/lexical-exit-early
goto-instrument --show-lexical-loops: exit early
2 parents 266b633 + 75cd6a8 commit fee1d3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/goto-instrument/goto_instrument_parse_options.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,7 @@ int goto_instrument_parse_optionst::doit()
662662
if(cmdline.isset("show-lexical-loops"))
663663
{
664664
show_lexical_loops(goto_model, std::cout);
665+
return CPROVER_EXIT_SUCCESS;
665666
}
666667

667668
if(cmdline.isset("print-internal-representation"))

0 commit comments

Comments
 (0)