code: def add_opt(self, opt, value=None):
          
          if value is not None:
              if not isinstance(value, File):
                  value = str(value)
              self._options += [opt, value]
          else:
              self._options += [opt]
docs: Add a option