 
 useFlashLoc = 'auto'
 CLIFlashPath = ''
-reCLIArg = /^--flash-player=(.+)$/i
+reCLIArg = /^--flash=(.+)$/i
 parseCLIArg = (arg) ->
   if (m = reCLIArg.exec arg)?
     value = m[1]

    when 'win32' then null  # TODO

getFlashVersion = (path) ->
  return '' if not validatePath path
  switch PLATFORM
    when 'darwin'

  #    try to find built-in flash player.
  # 3. If 2 failed, try to find Google Chrome integrated flash player.
  # 4. If 3 failed, try to find globally installed flash player.
  switch loc.toLowerCase()
    when 'auto'
      flashPath = getBuiltInFlashPath()
      flashPath ?= findChromeFlashPath()
