joyent/node — pull request #6167 by bnoordhuis (2013-09-02 19:42:35+00:00)
Title:  src: clean up CLI argument parser

* Exit with an error message when the option is not a node or V8 option.

* Remove the option_end_index global. Needs to happen anyway for
the multi-context work, might as well land it in master now.

* Add a smidgen of const-correctness.

* Pay off a few years of accrued technical debt.

Hit it, Jenkins.