@property
    def doc(self):
        """Get the docs for this command

        The docs are used for display purposes, but also by 
        docopt (which uses them to the parse command line options)
        """

        doc = self.__doc__
        # Unindent by one level
        doc = re.sub(r'^( {4}|\t)', '',  doc, flags=re.MULTILINE)
        # Put the global options in place
        doc = re.sub(r'\s+\[\[include global options\]\]', global_opts_doc() % "\n\n%s", doc)
        return doc
dataset/ETHPy150Open adamcharnock/dokku-client/dokku_client/commands/__init__.py/BaseCommand.doc/swapped operands of `%`