Quellcode durchsuchen

[java] use modern CLI arg syntax in error message

Jens Fischer vor 5 Jahren
Ursprung
Commit
93941e871e
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/codegen/java.ml

+ 1 - 1
src/codegen/java.ml

@@ -660,7 +660,7 @@ let compare_type com s1 s2 =
 				let implements = List.map (japply_params jparams) c.cinterfaces in
 				let implements = List.map (japply_params jparams) c.cinterfaces in
 				loop ~first_error:first_error super s2 || List.exists (fun super -> loop ~first_error:first_error super s2) implements
 				loop ~first_error:first_error super s2 || List.exists (fun super -> loop ~first_error:first_error super s2) implements
 			with | Not_found ->
 			with | Not_found ->
-				print_endline ("-java-lib: The type " ^ (s_sig s1) ^ " is referred but was not found. Compilation may not occur correctly.");
+				print_endline ("--java-lib: The type " ^ (s_sig s1) ^ " is referred but was not found. Compilation may not occur correctly.");
 				print_endline "Did you forget to include a needed lib?";
 				print_endline "Did you forget to include a needed lib?";
 				if first_error then
 				if first_error then
 					not (loop ~first_error:false s2 s1)
 					not (loop ~first_error:false s2 s1)