busterjs / buster

Abandoned - A powerful suite of automated test tools for JavaScript.
http://docs.busterjs.org
Other
448 stars 37 forks source link

busterjs/posix-argv-parser: example does not run #460

Closed andy-hanson closed 8 years ago

andy-hanson commented 9 years ago

First, posixArgvParser on line 38 needs to have its name changed to pap. After that, it still doesn't run.

$ node mything.js --port=1234 path/to/stuff
Unknown argument '--port=1234'.
dwittner commented 8 years ago

@andy-hanson, it has to be "args" not "pap". I have fixed the example. Thanks for the hint.