old_contents: # -*- encoding: utf-8 -*-
  from __future__ import (unicode_literals, absolute_import,
                          division, print_function)
  			
  def main():
      pass
  
new_contents: # -*- encoding: utf-8 -*-
  from __future__ import (unicode_literals, absolute_import,
                          division, print_function)
  
  import argparse
  from oparlvalidator import version
  
  def main():
      parser = argparse.ArgumentParser(description='''
  	Validates a OParl system or OParl documents. To test the
  	whole system pass the system URL without any arguments.
  	''')
      parser.add_argument('url', metavar='URL',
          help='URL of the system to test')
      parser.add_argument('-l', '--max-depth', metavar='depth', type=int,
          dest='depth', help='set max recursion depth')
      parser.add_argument('-n', '--max-documents', metavar='number', type=int,
          dest='number',
          help='set max number of documents to test per document type')
      parser.add_argument('-c', '--compact', action='store_true',
          dest='compact', help='gives a compact error report')
      parser.add_argument('-v', '--set-version', metavar='version',
          dest='version', help='set the OParl version. '
  	'Currently "1" is the only valid option.')
      parser.add_argument('-V', '--version', action='version',
          version='%(prog)s ' + version.__version__)
      args = parser.parse_args()
  
subject: add basic argparsing