Add --ecma7 option to CLI
This commit is contained in:
parent
1b8069e48c
commit
cee56dab67
@ -20,6 +20,7 @@ for (var i = 2; i < process.argv.length; ++i) {
|
||||
else if (arg == "--ecma3") options.ecmaVersion = 3;
|
||||
else if (arg == "--ecma5") options.ecmaVersion = 5;
|
||||
else if (arg == "--ecma6") options.ecmaVersion = 6;
|
||||
else if (arg == "--ecma7") options.ecmaVersion = 7;
|
||||
else if (arg == "--strictSemicolons") options.strictSemicolons = true;
|
||||
else if (arg == "--locations") options.locations = true;
|
||||
else if (arg == "--silent") silent = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user