Check consistency of options.