old_contents: 
  import os
  import sys
  
  from ideascube.serveradmin.package import MediaCenterPackage
  from ideascube.management.utils import Reporter
  
  from django.core.management.base import BaseCommand
  
  
  class Command(BaseCommand):
      help = ('Convert a CSV describing a set of media into a package. '
              'The CSV file must contain columns "title", "summary", "path", '
              '"credits". Optional columns are "lang", "preview", "kind", "tags".'
              ' Attributes "path" and "preview" (if provided) must be path '
              '(relative to csv directory) to existing files.')
  
      def add_arguments(self, parser):
          parser.add_argument('csv_path', help='Path to CSV metadata.')
          parser.add_argument('package_path',
                              help='Path of the package to create')
          parser.add_argument('--dry-run', action='store_true',
                              help='Do not really create the package.')
  
      def abort(self, msg):
          self.stderr.write(msg)
          sys.exit(1)
  
      def handle(self, *args, **options):
          report = Reporter(options['verbosity'])
          csv_path = os.path.abspath(options['csv_path'])
          package_path = os.path.abspath(options['package_path'])
  
          if options['dry_run']:
              print("--dry-run option given, no package will be created")
  
          if not os.path.exists(csv_path):
              self.abort('Path does not exist: {}'.format(csv_path))
          os.makedirs(os.path.dirname(package_path), exist_ok=True)
  
          package = MediaCenterPackage.from_csv(csv_path, report=report)
          print(report)
  
          if not package.medias:
              self.abort("There is no (valid) media to create the package.\n"
                         "No package will be created")
          elif not options['dry_run']:
              package.create_package_zip(package_path)
  
          print("\nPackage {package_path} {verb} been created with"
                " {nb_media} medias."
                .format(
                    verb="would have" if options['dry_run'] else "has",
                    package_path=package_path,
                    nb_media=len(package.medias)
                    )
                )
  
new_contents: 
  import os
  import sys
  
  from ideascube.serveradmin.package import MediaCenterPackage
  from ideascube.management.utils import Reporter
  
  from django.core.management.base import BaseCommand
  
  help_str = """Convert a CSV describing a set of media into a package.
  
  The CSV file must contain columns "title", "summary", "path" and "credits".
  Optional columns are "lang", "preview", "kind", "tags".
  Attributes "path" and "preview" (if provided) must be paths
  (relative to the directory containing the CSV) to existing files.
  """
  
  class Command(BaseCommand):
      help = help_str
  
      def add_arguments(self, parser):
          parser.add_argument('csv_path', help='Path to CSV metadata.')
          parser.add_argument('package_path',
                              help='Path of the package to create')
          parser.add_argument('--dry-run', action='store_true',
                              help='Do not really create the package.')
  
      def abort(self, msg):
          self.stderr.write(msg)
          sys.exit(1)
  
      def handle(self, *args, **options):
          report = Reporter(options['verbosity'])
          csv_path = os.path.abspath(options['csv_path'])
          package_path = os.path.abspath(options['package_path'])
  
          if options['dry_run']:
              print("--dry-run option given, no package will be created")
  
          if not os.path.exists(csv_path):
              self.abort('Path does not exist: {}'.format(csv_path))
          os.makedirs(os.path.dirname(package_path), exist_ok=True)
  
          package = MediaCenterPackage.from_csv(csv_path, report=report)
          print(report)
  
          if not package.medias:
              self.abort("There is no (valid) media to create the package.\n"
                         "No package will be created")
          elif not options['dry_run']:
              package.create_package_zip(package_path)
  
          print("\nPackage {package_path} {verb} been created with"
                " {nb_media} medias."
                .format(
                    verb="would have" if options['dry_run'] else "has",
                    package_path=package_path,
                    nb_media=len(package.medias)
                    )
                )
  
subject: Rewrite help string.