code: function outputHelpIfNecessary(cmd, options) {
    options = options || [];
    for (var i = 0; i < options.length; i++) {
      if (options[i] == '--help' || options[i] == '-h') {
        process.on('exit', function() {
          consoleFlush(cmd.helpInformation());
          cmd.emit('--help');
          consoleFlush("");
        });
        process.exit();
      }
      
      return true;
    }
  }
docs: Output help information if necessary
  
  @param {Command} command to output help for
  @param {Array} array of options to search for -h or --help
  @api private