visionmedia/commander.js — pull request #147 by matthiasg (2013-05-07 05:12:39+00:00)
Title: allowUnknownOptions() --- dont process.exit(1) when an unknown option is detected.

It needed a way to allow unknown options not to fail with process.exit() and added allowUnknownOptions to the chain.

Our program consists of a host which parses some arguments and passes them on to a hosted app. In that case it is necessary to just ignore unknown options.

This affects only 'global' options not 'command' options.