       try
         if ((f.split '.')[1] == 'js')
           readf = dirPath + '/' + f
-          (console.warn "read file %s", readf) if options.verbose
+          (console.log "read file %s", readf) if options.verbose
           contents = fsUtil.readFileSync(readf, encoding)
           output = js2coffee.build(contents,options)
           writeFile(dirPath, f, output)
       catch e
-        console.warn e
+        console.error e
 
   for i in sources
     try

  options = nopt knownOpts, shortHands, process.argv, 2
  sources = options.argv.remain or= []

  # nopt trim string values, copy it manually from argv.cooked
  index = options.argv.cooked.indexOf "--indent"
  if index isnt -1 and options.argv.cooked.length >= index

              list.add v
          callback(i, '', list)
    catch e
      #console.error e

# Compile a path, which could be a script or a directory. If a directory
# is passed, recursively compile all '.js' extension source files in it
