diff --git a/lib/coffee-script/command.js b/lib/coffee-script/command.js index e19f62bb..ef80015a 100644 --- a/lib/coffee-script/command.js +++ b/lib/coffee-script/command.js @@ -15,7 +15,7 @@ return process.binding('stdio').writeError(line + '\n'); }; BANNER = 'Usage: coffee [options] path/to/script.coffee'; - SWITCHES = [['-c', '--compile', 'compile to JavaScript and save as .js files'], ['-i', '--interactive', 'run an interactive CoffeeScript REPL'], ['-o', '--output [DIR]', 'set the directory for compiled JavaScript'], ['-j', '--join [FILE]', 'concatenate the scripts before compiling'], ['-w', '--watch', 'watch scripts and repeat enabled task(s) for any that change'], ['-p', '--print', 'print the compiled JavaScript to stdout'], ['-l', '--lint', 'pipe the compiled JavaScript through JavaScript Lint'], ['-s', '--stdio', 'listen for and compile scripts over stdio'], ['-e', '--eval', 'compile a string from the command line'], ['-r', '--require [FILE*]', 'require a library before executing your script'], ['-b', '--bare', 'compile without the top-level function wrapper'], ['-t', '--tokens', 'print the tokens that the lexer produces'], ['-n', '--nodes', 'print the parse tree that Jison produces'], ['--nodejs [ARGS]', 'pass options through to the "node" binary'], ['-v', '--version', 'display CoffeeScript version'], ['-h', '--help', 'display this help message']]; + SWITCHES = [['-c', '--compile', 'compile to JavaScript and save as .js files'], ['-i', '--interactive', 'run an interactive CoffeeScript REPL'], ['-o', '--output [DIR]', 'set the directory for compiled JavaScript'], ['-j', '--join [FILE]', 'concatenate the scripts before compiling'], ['-w', '--watch', 'watch scripts and repeat enabled tasks for any that change'], ['-p', '--print', 'print the compiled JavaScript to stdout'], ['-l', '--lint', 'pipe the compiled JavaScript through JavaScript Lint'], ['-s', '--stdio', 'listen for and compile scripts over stdio'], ['-e', '--eval', 'compile a string from the command line'], ['-r', '--require [FILE*]', 'require a library before executing your script'], ['-b', '--bare', 'compile without the top-level function wrapper'], ['-t', '--tokens', 'print the tokens that the lexer produces'], ['-n', '--nodes', 'print the parse tree that Jison produces'], ['--nodejs [ARGS]', 'pass options through to the "node" binary'], ['-v', '--version', 'display CoffeeScript version'], ['-h', '--help', 'display this help message']]; opts = {}; sources = []; contents = []; diff --git a/src/command.coffee b/src/command.coffee index 3e5a7470..9316d50c 100644 --- a/src/command.coffee +++ b/src/command.coffee @@ -30,7 +30,7 @@ SWITCHES = [ ['-i', '--interactive', 'run an interactive CoffeeScript REPL'] ['-o', '--output [DIR]', 'set the directory for compiled JavaScript'] ['-j', '--join [FILE]', 'concatenate the scripts before compiling'] - ['-w', '--watch', 'watch scripts and repeat enabled task(s) for any that change'] + ['-w', '--watch', 'watch scripts and repeat enabled tasks for any that change'] ['-p', '--print', 'print the compiled JavaScript to stdout'] ['-l', '--lint', 'pipe the compiled JavaScript through JavaScript Lint'] ['-s', '--stdio', 'listen for and compile scripts over stdio']