the --no-wrap option now disables top-level var declarations

This commit is contained in:
Jeremy Ashkenas
2009-12-24 17:37:24 -08:00
parent 93009e07f6
commit 9b2326492b
4 changed files with 21 additions and 4 deletions

View File

@@ -156,7 +156,7 @@ Usage:
opts.on('-v', '--verbose', 'print at every step of code generation') do |v|
ENV['VERBOSE'] = 'true'
end
opts.on('-n', '--no-wrap', 'suppress the top-level safety function wrapper') do |n|
opts.on('-n', '--no-wrap', 'raw output, no safety wrapper or vars') do |n|
@options[:no_wrap] = true
end
opts.on_tail('--install-bundle', 'install the CoffeeScript TextMate bundle') do |i|