[JS IR] Change names of ir-only arguments

This commit is contained in:
Ilya Goncharov
2022-10-17 17:59:15 +02:00
committed by Space Team
parent 71011aeaef
commit ca8b415726
4 changed files with 6 additions and 7 deletions
@@ -234,12 +234,12 @@ class K2JsIrCompiler : CLICompiler<K2JSCompilerArguments>() {
val outputDirPath = arguments.outputDir
val outputName = arguments.moduleName
if (outputDirPath == null) {
messageCollector.report(ERROR, "IR: Specify output dir via -Xir-output-dir", null)
messageCollector.report(ERROR, "IR: Specify output dir via -ir-output-dir", null)
return COMPILATION_ERROR
}
if (outputName == null) {
messageCollector.report(ERROR, "IR: Specify output name via -Xir-module-name", null)
messageCollector.report(ERROR, "IR: Specify output name via -ir-output-name", null)
return COMPILATION_ERROR
}