Fix getOptions example