code: def add_option(self, parser):
          
  
          group = parser.add_argument_group(self.name)
          for stat in self.stats:
              stat.add_option(group)
  
          group.add_argument(
              "--{0}".format(self.option), action="store_true", help="All above")
docs: Add option group and all children options.