exit when option was given