File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -280,10 +280,18 @@ int goto_diff_parse_optionst::doit()
280
280
if (get_goto_program_ret!=-1 )
281
281
return get_goto_program_ret;
282
282
283
- if (cmdline.isset (" show-goto-functions" ))
283
+ if (
284
+ cmdline.isset (" show-goto-functions" ) ||
285
+ cmdline.isset (" list-goto-functions" ))
284
286
{
285
- show_goto_functions (goto_model1, get_ui ());
286
- show_goto_functions (goto_model2, get_ui ());
287
+ show_goto_functions (
288
+ goto_model1,
289
+ ui_message_handler.get_ui (),
290
+ cmdline.isset (" list-goto-functions" ));
291
+ show_goto_functions (
292
+ goto_model2,
293
+ ui_message_handler.get_ui (),
294
+ cmdline.isset (" list-goto-functions" ));
287
295
return 0 ;
288
296
}
289
297
@@ -437,13 +445,6 @@ bool goto_diff_parse_optionst::process_goto_program(
437
445
show_loop_ids (get_ui (), goto_model);
438
446
return true ;
439
447
}
440
-
441
- // show it?
442
- if (cmdline.isset (" show-goto-functions" ))
443
- {
444
- show_goto_functions (goto_model, get_ui ());
445
- return true ;
446
- }
447
448
}
448
449
449
450
catch (const char *e)
You can’t perform that action at this time.
0 commit comments