Fix another bogus piece of code from 31e77b975ed0bf14f68f9b0f6608bbe78d694bf0

This commit is contained in:
Marijn Haverbeke 2014-06-17 11:08:12 +02:00
parent c1b2742ee7
commit caeaf37c31

View File

@ -7,7 +7,7 @@ var acorn = require("../acorn.js");
var infile, parsed, options = {}, silent = false, compact = false; var infile, parsed, options = {}, silent = false, compact = false;
function help(status) { function help(status) {
var print = (status == 0) ? console.out : console.error; var print = (status == 0) ? console.log : console.error;
print("usage: " + path.basename(process.argv[1]) + " [--ecma3|--ecma5] [--strictSemicolons]"); print("usage: " + path.basename(process.argv[1]) + " [--ecma3|--ecma5] [--strictSemicolons]");
print(" [--locations] [--compact] [--silent] [--help] [--] infile"); print(" [--locations] [--compact] [--silent] [--help] [--] infile");
process.exit(status); process.exit(status);