def print_extended_help(self, filename=None):
        old_suppress_help = {}
        for group in self.option_groups:
            try:
                old_suppress_help[group] = group.suppress_help
                group.suppress_help = False
            except __HOLE__ as e:
                old_suppress_help[group] = None
                _LOGGER.debug("Option group does not have option to "
                              "suppress help; exception is " + e.message)
        self.print_help(file=filename)

        for group in self.option_groups:
            # Restore the suppressed help when applicable
            if old_suppress_help[group]:
                group.suppress_help = True
dataset/ETHPy150Open prestodb/presto-admin/prestoadmin/util/parser.py/LoggingOptionParser.print_extended_help