 console.log "PHANTOM: Using packs:"
 for packName in packNames
   console.log "PHANTOM: #{packName}"
+
+excludeFlowNames = if excludeFlows == null then [] else excludeFlows.split ';'
+console.log "PHANTOM: Excluding flows:"
+for excludeFlowName in excludeFlowNames
+  console.log "PHANTOM: #{excludeFlowName}"
 
 page = webpage.create()
 

printUsageAndExit = (message) ->
  console.log "*** #{message} ***"
  console.log 'Usage: phantomjs headless-test.js [--host ip:port] [--timeout seconds] [--packs foo:bar:baz] \
                                                 [--perf date buildId gitHash gitBranch ncpu os jobName outputDir]'
  console.log '    ip:port  defaults to localhost:54321'
  console.log '    timeout  defaults to 3600'
  console.log '    packs    defaults to examples'
  console.log '    perf     performance of individual tests will be recorded in perf.csv in the output directory'
  phantom.exit 1

parseOpts = (args) ->

                console.log 'Finished running all packs!'
              window._phantom_exit_ = yes
            no
        packNames, date, buildId, gitHash, gitBranch, hostname, ncpu, os, jobName, perf, excludeFlowNames
      )

    printErrors = (errors, prefix='') ->
