Restored 'django-admin.py --help'

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-09-11 04:27:06 +00:00
parent a77a02359d
commit 2554ea352e
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class ManagementUtility(object):
elif self.argv[1:] == ['--version']:
print django.get_version()
elif self.argv[1:] == ['--help']:
self.main_help_text()
sys.stderr.write(self.main_help_text() + '\n')
else:
self.fetch_command(subcommand).run_from_argv(self.argv)