Hello,

I've installed Julia 0.4.5 on my Mac and I'm reading the user manual...

The Getting Started section mentions the double-dash cmdline syntax, but
it doesn't seem to work. With the script given as example that just
shows the value of ARGS, I get this:

didier(s000)% julia --color=yes -- /tmp/test.jl foo bar
ERROR: could not open file /Users/didier/--
[...]

However, it works without the double-dash:
didier(s000)% julia --color=yes /tmp/test.jl foo bar
foo
bar

This behavior seems in contradiction with Julia's synopsis:
didier(s000)% julia --help
julia [switches] -- [programfile] [args...]


Thanks.

-- 
Resistance is futile. You will be jazzimilated.

Lisp, Jazz, Aïkido: http://www.didierverna.info

Reply via email to