code: def option_list_all(self):
          
          res = self.option_list[:]
          for i in self.option_groups:
              res.extend(i.option_list)
  
          return res
docs: Get a list of all options, including those in option groups.