Better error when missing mandatory flag