Ticket #15359: 1.2.X.diff

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

svn diff for version 1.2.X

  • django/core/management/__init__.py

     
    372372        elif self.argv[1:] == ['--version']:
    373373            # LaxOptionParser already takes care of printing the version.
    374374            pass
    375         elif self.argv[1:] == ['--help']:
     375        elif self.argv[1:] == ['--help'] or self.argv[1:] == ['-h']:
    376376            parser.print_lax_help()
    377377            sys.stderr.write(self.main_help_text() + '\n')
    378378        else:
Back to Top