Alhadis/GetOptions

Variadic arguments are fucked

Closed this issue · 0 comments

Probably should've tested variable-length options before crappin' on about 'em in the readme:

$ program.js -f one two three four five

Expectation:

{ options: { files: ["one", "two", "three", "four", "five"] }, argv: [] }

Reality:

{ options: { f: "one" }, argv: [] }

Not good.