exit after printing options or lists