moving -tr --tree to -n --nodes, and --no-wrap gives up its -n short flag.

This commit is contained in:
Jeremy Ashkenas
2010-02-25 18:42:35 -05:00
parent c62f93f930
commit 9d4e06e8a8
4 changed files with 12 additions and 12 deletions

View File

@@ -31,11 +31,11 @@ exports.compile: (code, options) ->
(parser.parse lexer.tokenize code).compile(options)
# Just the tokens.
exports.tokenize: (code) ->
exports.tokens: (code) ->
lexer.tokenize code
# Just the nodes.
exports.tree: (code) ->
exports.nodes: (code) ->
parser.parse lexer.tokenize code
# Activate CoffeeScript in the browser by having it compile and eval