code: function findFlag(key, flags) {
  	debug('findFlag: ' + key);
  	for (var i = 0; i < flags.length; i++) {
  		var flag = flags[i];
  		if (flag.shortFlag == key || flag.longFlag == key) {
  			debug('Flag found!', flag);
  			return flag;
  		}
  	}
  	debug('returning null');
  	return null;
  }
docs: Find Flag
  
  Given a `key` that represents the long or short version of a flag, return the flag object from `flags`
  @param {String} key The needle, the long or short string that represents a flag.
  @param {Flag[]} flags
  @returns {*}
  @private