Skip to content

Commit

Permalink
[cli] don't support legacy syntax for a new flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Gama11 committed May 17, 2020
1 parent 1c11022 commit fe0977d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/compiler/haxe.ml
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ try
cp_libs := "hxjava" :: !cp_libs;
Initialize.set_platform com Java dir;
),"<directory>","generate Java code into target directory");
("Target",["--jvm"],["-jvm"],Arg.String (fun dir ->
("Target",["--jvm"],[],Arg.String (fun dir ->
cp_libs := "hxjava" :: !cp_libs;
Common.define com Define.Jvm;
jvm_flag := true;
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/compile-jvm.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
compile-each.hxml
--main unit.TestMain
--java-lib native_java/native.jar
-jvm bin/jvm/TestMain-debug.jar
--jvm bin/jvm/TestMain-debug.jar

0 comments on commit fe0977d

Please sign in to comment.