1
0
mirror of https://github.com/django/django.git synced 2024-12-23 09:36:06 +00:00

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

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)