diff --git a/tools/cli/src/main/java/org/teavm/cli/TeaVMRunner.java b/tools/cli/src/main/java/org/teavm/cli/TeaVMRunner.java index 252073363..18416acf1 100644 --- a/tools/cli/src/main/java/org/teavm/cli/TeaVMRunner.java +++ b/tools/cli/src/main/java/org/teavm/cli/TeaVMRunner.java @@ -243,7 +243,7 @@ public final class TeaVMRunner { if (commandLine.hasOption('g')) { tool.setDebugInformationGenerated(true); } - if (commandLine.hasOption('S')) { + if (commandLine.hasOption('G')) { tool.setSourceMapsFileGenerated(true); } }