old_contents: # -*- coding: utf-8 -*-
  from __future__ import absolute_import
  from cms.management.commands.subcommands.base import SubcommandsCommand
  from cms.management.commands.subcommands.check import CheckInstallation
  from cms.management.commands.subcommands.list import ListCommand
  from cms.management.commands.subcommands.moderator import ModeratorCommand
  from cms.management.commands.subcommands.publisher_publish import PublishCommand
  from cms.management.commands.subcommands.tree import FixTreeCommand
  from cms.management.commands.subcommands.uninstall import UninstallCommand
  from cms.management.commands.subcommands.copy_lang import CopyLangCommand
  from cms.management.commands.subcommands.delete_orphaned_plugins import DeleteOrphanedPluginsCommand
  from django.core.management.base import BaseCommand
  from optparse import make_option
  
  
  class Command(SubcommandsCommand):
  
      option_list = BaseCommand.option_list + (
          make_option('--noinput', action='store_false', dest='interactive', default=True,
          help='Tells django-cms to NOT prompt the user for input of any kind. '),
      )
  
      args = '<subcommand>'
  
      command_name = 'cms'
  
      subcommands = {
          'uninstall': UninstallCommand,
          'list': ListCommand,
          'moderator': ModeratorCommand,
          'fix-tree': FixTreeCommand,
          'copy-lang': CopyLangCommand,
          'delete_orphaned_plugins': DeleteOrphanedPluginsCommand,
          'check': CheckInstallation,
          'publisher_publish': PublishCommand,
      }
  
      @property
      def help(self):
          lines = ['django CMS command line interface.', '', 'Available subcommands:']
          for subcommand in sorted(self.subcommands.keys()):
              lines.append('  %s' % subcommand)
          lines.append('')
          lines.append('Use `manage.py cms <subcommand> --help` for help about subcommands')
          return '\n'.join(lines)
  
new_contents: # -*- coding: utf-8 -*-
  from __future__ import absolute_import
  from cms.management.commands.subcommands.base import SubcommandsCommand
  from cms.management.commands.subcommands.check import CheckInstallation
  from cms.management.commands.subcommands.list import ListCommand
  from cms.management.commands.subcommands.moderator import ModeratorCommand
  from cms.management.commands.subcommands.publisher_publish import PublishCommand
  from cms.management.commands.subcommands.tree import FixTreeCommand
  from cms.management.commands.subcommands.uninstall import UninstallCommand
  from cms.management.commands.subcommands.copy_lang import CopyLangCommand
  from cms.management.commands.subcommands.copy_site import CopySiteCommand
  from cms.management.commands.subcommands.delete_orphaned_plugins import DeleteOrphanedPluginsCommand
  from django.core.management.base import BaseCommand
  from optparse import make_option
  
  
  class Command(SubcommandsCommand):
  
      option_list = BaseCommand.option_list + (
          make_option('--noinput', action='store_false', dest='interactive', default=True,
          help='Tells django-cms to NOT prompt the user for input of any kind. '),
      )
  
      args = '<subcommand>'
  
      command_name = 'cms'
  
      subcommands = {
          'uninstall': UninstallCommand,
          'list': ListCommand,
          'moderator': ModeratorCommand,
          'fix-tree': FixTreeCommand,
          'copy-lang': CopyLangCommand,
          'copy-site': CopySiteCommand,
          'delete_orphaned_plugins': DeleteOrphanedPluginsCommand,
          'check': CheckInstallation,
          'publisher_publish': PublishCommand,
      }
  
      @property
      def help(self):
          lines = ['django CMS command line interface.', '', 'Available subcommands:']
          for subcommand in sorted(self.subcommands.keys()):
              lines.append('  %s' % subcommand)
          lines.append('')
          lines.append('Use `manage.py cms <subcommand> --help` for help about subcommands')
          return '\n'.join(lines)
  
subject: Update cms.py