Skip to content

Commit d38b78c

Browse files
committed
Ignore unknown CLI args
Increase client compatibility for kotlin-ice-adapter
1 parent df5c3fc commit d38b78c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

ice-adapter/src/main/java/com/faforever/iceadapter/IceAdapter.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ public class IceAdapter implements Callable<Integer> {
4343
public static volatile GameSession gameSession;
4444

4545
public static void main(String[] args) {
46-
new CommandLine(new IceAdapter()).execute(args);
46+
new CommandLine(new IceAdapter())
47+
.setUnmatchedArgumentsAllowed(true)
48+
.execute(args);
4749
}
4850

4951
@Override

0 commit comments

Comments
 (0)