tidy up option parsing code in flux-start