Implement the r option.