function renamedOption (originalName, newName) {
  return function (val) {
    warning(util.format("option `%s' has been renamed to `%s'", originalName, newName))
    return val
  }
}
function renamedOption (originalName, newName) {
  return function (val) {
    warning(util.format("option `%s' has been renamed to `%s'", originalName, newName))
    return val
  }
}
function renamedOption ( originalName , newName ) { return function ( val ) { warning ( util . format ( "option `%s' has been renamed to `%s'" , originalName , newName ) ) return val } }
Generate a callback function for commander to warn about renamed option.

@param {String} originalName
@param {String} newName
Generate a callback function for commander to warn about renamed option .