docs: def opt_format(self, fmt):
          """ Set value for format option """
          key = get_enum_key(fmt, FORMATTERS)
          if key is not None:
              self.conf["format"] = key
              print("Set format %r" % key)
          else:
              print("Unknown format %r" % fmt)