*
* @param options the parameter set
* @return the built command
*/
static UpdateRefWeb buildUpdateRef(ParameterSet options) {
UpdateRefWeb command = new UpdateRefWeb();
command.setName(options.getFirstValue("name", null));
command.setDelete(Boolean.valueOf(options.getFirstValue("delete", "false")));
command.setNewValue(options.getFirstValue("newValue", ObjectId.NULL.toString()));
return command;
}