display a more consistent error for invalid commandline opts