Browse files

Restored 'django-admin.py --help'

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent a77a023 commit 2554ea352e37b5d1da57392ee19a681b00c87154 @adrianholovaty adrianholovaty committed Sep 11, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/core/management/__init__.py
View
2 django/core/management/__init__.py
@@ -101,7 +101,7 @@ def execute(self):
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)

0 comments on commit 2554ea3

Please sign in to comment.