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:
parent
a77a02359d
commit
2554ea352e
|
@ -101,7 +101,7 @@ class ManagementUtility(object):
|
||||||
elif self.argv[1:] == ['--version']:
|
elif self.argv[1:] == ['--version']:
|
||||||
print django.get_version()
|
print django.get_version()
|
||||||
elif self.argv[1:] == ['--help']:
|
elif self.argv[1:] == ['--help']:
|
||||||
self.main_help_text()
|
sys.stderr.write(self.main_help_text() + '\n')
|
||||||
else:
|
else:
|
||||||
self.fetch_command(subcommand).run_from_argv(self.argv)
|
self.fetch_command(subcommand).run_from_argv(self.argv)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue