use a helper function to generate error messages for mutually exclusive options Inspired by a different patch from jrick ok jrick