maxtaco / coffee-script

IcedCoffeeScript
http://maxtaco.github.com/coffee-script
MIT License
727 stars 58 forks source link

`--` command line arg ignored #114

Open vjpr opened 10 years ago

vjpr commented 10 years ago
#bin/index.coffee
console.log process.argv
coffee bin/index.coffee --
[ 'coffee',
  'xxx/bin/index.coffee',
  '--' ]

coffee -v
CoffeeScript version 1.1.3
iced bin/index.coffee --
[ 'coffee', 'xxx/bin/index.coffee' ]

iced -v
IcedCoffeeScript version 1.7.0-a

I'm writing a CLI util which I run with a script because I need to modify the NODE_PATH var.

I want to use -- in my CLI app to handle un-handled arguments.