merging in Trevor's --no-wrap deprecation

This commit is contained in:
Jeremy Ashkenas
2010-11-01 20:57:43 -04:00
parent a4be3bceec
commit 67f1e04f3b
2 changed files with 2 additions and 2 deletions

View File

@@ -187,7 +187,7 @@ parseOptions = ->
o.print = !! (o.print or (o.eval or o.stdio and o.compile))
sources = o.arguments
if opts['no-wrap']
console.log '--no-wrap is deprecated; please use --bare instead.\n'
console.warn '--no-wrap is deprecated; please use --bare instead.'
# The compile-time options to pass to the CoffeeScript compiler.
compileOptions = (fileName) -> {fileName, bare: opts.bare or opts['no-wrap']}