What steps will reproduce the problem?
1. Get example from http://code.google.com/p/v8cgi/wiki/API_GetOpt
2. Run and see "Error: Missing value for '-i'"
All work correct if use '---' between options and arguments:
var args = ["--human", "-vv", "-i", "eth0", '--', "someText1", "someText2"];
But it's too ugly, always use '--' in command line.
I use v8cgi 0.6.0 on Mac OS X.
Original issue reported on code.google.com by mr.ve...@gmail.com on 5 Jul 2009 at 8:42
Original issue reported on code.google.com by
mr.ve...@gmail.com
on 5 Jul 2009 at 8:42