Ticket #15359: 1.1.X.diff

File 1.1.X.diff, 604 bytes (added by teubank, 4 years ago)

svn diff for version 1.1.X

  • django/core/management/__init__.py

     
    296296        elif self.argv[1:] == ['--version']:
    297297            # LaxOptionParser already takes care of printing the version.
    298298            pass
    299         elif self.argv[1:] == ['--help']:
     299        elif self.argv[1:] == ['--help'] or self.argv[1:] == ['-h']:
    300300            parser.print_lax_help()
    301301            sys.stderr.write(self.main_help_text() + '\n')
    302302        else:
Back to Top