 
 # The "--version" message.
 version: ->
-  puts "CoffeeScript version " + coffee.VERSION
+  puts "CoffeeScript version " + CoffeeScript.VERSION
   process.exit 0
 
 # Compiles the source CoffeeScript, returning the desired JavaScript, tokens,

fs:       require 'fs'
path:     require 'path'
coffee:   require 'coffee-script'
optparse: require('optparse')

BANNER: '''
  coffee compiles CoffeeScript source files into JavaScript.

  process.stdio.addListener 'data', (string) ->
    code += string if string
  process.stdio.addListener 'close', ->
    process.stdio.write CoffeeScript.compile code, compile_options()

# Watch a list of source CoffeeScript files, recompiling them every time the
# files are updated.
