Author: adrian Date: 2010-01-10 15:36:12 -0600 (Sun, 10 Jan 2010) New Revision: 12198
Modified: django/trunk/django/core/management/__init__.py Log: Fixed #11842 -- django-admin.py now displays usage information if invoked with no arguments. Thanks, bitprophet Modified: django/trunk/django/core/management/__init__.py =================================================================== --- django/trunk/django/core/management/__init__.py 2010-01-10 21:28:37 UTC (rev 12197) +++ django/trunk/django/core/management/__init__.py 2010-01-10 21:36:12 UTC (rev 12198) @@ -358,8 +358,7 @@ try: subcommand = self.argv[1] except IndexError: - sys.stderr.write("Type '%s help' for usage.\n" % self.prog_name) - sys.exit(1) + subcommand = 'help' # Display help if no arguments were given. if subcommand == 'help': if len(args) > 2:
-- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.