Exit Status: Returns success if an option is found; fails if the end of options is encountered or an error occurs.