code: function createErrorHandler(yargs) {
  	if (!yargs) {
  		yargs = Yargs;
  	}
  	return consoleErrorLogger.bind(undefined, console, yargs, true);
  }
docs: Creates an error handler. The handler displays the error message if there is one,
  or displays the help if there ie no error or it is a usage error.
  @param {object} yargs
  @returns {function(err)} the error handler function