add a helper function for looking up an option string