Ticket #7151: 7151-patch3.diff
File 7151-patch3.diff, 632 bytes (added by , 16 years ago) |
---|
-
django/core/management/__init__.py
diff -r e8b0e3948829 django/core/management/__init__.py
a b 203 203 sys.exit(1) 204 204 205 205 if subcommand == 'help': 206 if len( args) > 2:207 self.fetch_command( args[2]).print_help(self.prog_name, args[2])206 if len(self.argv) > 2: 207 self.fetch_command(self.argv[2]).print_help(self.prog_name, self.argv[2]) 208 208 else: 209 209 sys.stderr.write(self.main_help_text() + '\n') 210 210 sys.exit(1)