code: function getParams(optlist){
  	var aliases = {};
  	var known = {};
  	
  	Object.keys(optlist).forEach(function(key) {
  		var short = optlist[key].short;
  		if (short) {
  			aliases[short] = '--' + key;
  		}
  		known[key] = optlist[key].type;
  	});
  	
  	return {
  		known: known,
  		aliases: aliases
  	}
  }
docs: Parse `optlist` into a form that nopt can handle.