Parse options with optparse