@@ -289,10 +289,10 @@ pub fn main() {
289289 let mut print_opts = config:: PrintOptions {
290290 print_headers : print_names. len ( ) > 1 ,
291291 tests : None ,
292- mutation_targets : None ,
293292 call_graph : None ,
294- conflict_graph : None ,
293+ mutation_targets : None ,
295294 mutations : None ,
295+ conflict_graph : None ,
296296 code : None ,
297297 } ;
298298
@@ -309,7 +309,6 @@ pub fn main() {
309309 for print_name in print_names {
310310 match print_name {
311311 opts:: TESTS => print_opts. tests = Some ( ( ) ) ,
312- opts:: TARGETS => print_opts. mutation_targets = Some ( ( ) ) ,
313312 opts:: CALL_GRAPH => {
314313 let entry_point_filters = mutest_arg_matches. get_many :: < String > ( "call-graph-filter-entry-points" ) . map ( |s| s. map ( |f| f. trim ( ) . to_owned ( ) ) . collect :: < Vec < _ > > ( ) ) . unwrap_or_default ( ) ;
315314 let non_local_call_view = {
@@ -322,12 +321,13 @@ pub fn main() {
322321 } ;
323322 print_opts. call_graph = Some ( config:: CallGraphOptions { format : graph_format, entry_point_filters, non_local_call_view } ) ;
324323 }
324+ opts:: TARGETS => print_opts. mutation_targets = Some ( ( ) ) ,
325+ opts:: MUTATIONS => print_opts. mutations = Some ( ( ) ) ,
325326 opts:: CONFLICT_GRAPH | opts:: COMPATIBILITY_GRAPH => {
326327 let compatibility_graph = matches ! ( print_name, opts:: COMPATIBILITY_GRAPH ) ;
327328 let exclude_unsafe = mutest_arg_matches. get_flag ( "graph-exclude-unsafe" ) ;
328329 print_opts. conflict_graph = Some ( config:: ConflictGraphOptions { compatibility_graph, exclude_unsafe, format : graph_format } ) ;
329330 }
330- opts:: MUTATIONS => print_opts. mutations = Some ( ( ) ) ,
331331 opts:: CODE => print_opts. code = Some ( ( ) ) ,
332332 _ => unreachable ! ( "invalid print information name: `{print_name}`" ) ,
333333 }
0 commit comments