docs: def set_format(self, format):
          """
          Pick the correct default format.
          """
          if self.options.format:
              self.format = self.options.format
          else:
              self.format = \
                  self.config["default_format_" + format]