substack/minimist — pull request #29 by jdiamond (2014-08-08 03:47:15+00:00)
Title: added stopEarly option

Added a `stopEarly` option to stop parsing on the first non-option. The rest of the args go into `argv._`.

Added a new test and all existing tests pass. And added to the docs.

I can re-submit if you'd like a different option name.