def getSynopsis(self):
        """
        Returns a string containing a description of these options and how to
        pass them to the executed file.
        """

        if self.parent is None:
            command = self.__class__.__name__
            offset = command.find('Options')
            default = "Usage: {0}{1}".format(command[:offset],
                                       (self.longOpt and " [options]") or '')
        else:
            default = (self.longOpt and " [options]") and ''

        synopsis = getattr(self, "synopsis", default).rstrip()

        if self.parent is not None:
            synopsis = ' '.join((self.parent.getSynopsis(),
                                 self.parent.subCommand, synopsis))

        return synopsis
dataset/ETHPy150Open rapyuta/rce/rce-console/rce/console/console.py/CustomOptions.getSynopsis/operator `or` -> `and`