def usage(self, subcommand):
        """
        Return a brief description of how to use this command, by
        default from the attribute ``self.help``.

        """
        usage = '%%prog %s [options] %s' % (subcommand, self.args)
        if self.help:
            return '%s\n\n%s' % (usage, self.help)
        else:
            return usage
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/core/management/base.py/BaseCommand.usage/original