Simplify option parsing.