restore report of supported options (#1861)

fixes #1859
This commit is contained in:
Alex Lam S.L
2017-05-02 01:42:29 +08:00
committed by GitHub
parent ea9289771b
commit 69b5663653

View File

@@ -205,6 +205,10 @@ function run() {
console.error(line.slice(0, col).replace(/\S/g, " ") + "^");
}
}
if (ex.defs) {
console.error("Supported options:");
console.error(ex.defs);
}
fatal("ERROR: " + ex.message);
}
if (program.output == "spidermonkey") {