<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def option_list_all(self):
 """Get a list of all options, including those in option groups."""

        res = self.option_list[:]
        for i in self.option_groups:
            res.extend(i.option_list)

        return res