Merge pull request #449 from monsanto/fix-6to5-node-name

fix _6to5-node name in help screen
This commit is contained in:
Sebastian McKenzie 2015-01-11 18:19:04 +11:00
commit a90730d4bf

View File

@ -10,6 +10,9 @@ var util = require("../lib/6to5/util");
var vm = require("vm");
var _ = require("lodash");
// Correct executed script name from /absolute/path/to/_6to5-node
process.argv[1] = path.resolve(process.argv[1], "..", "6to5-node");
commander.option("-e, --eval [script]", "Evaluate script");
commander.option("-p, --print", "Evaluate script and print result");
commander.option("-i, --ignore [regex]", "Ignore all files that match this regex when using the require hook");