Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion r12198 - django/trunk/django/core/manag ement
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
nore...@djangoproject.com  
View profile  
 More options Jan 10 2010, 4:36 pm
From: nore...@djangoproject.com
Date: Sun, 10 Jan 2010 15:36:13 -0600 (CST)
Local: Sun, Jan 10 2010 4:36 pm
Subject: [Changeset] r12198 - django/trunk/django/core/management
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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.