From 2554ea352e37b5d1da57392ee19a681b00c87154 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 11 Sep 2007 04:27:06 +0000 Subject: [PATCH] Restored 'django-admin.py --help' git-svn-id: http://code.djangoproject.com/svn/django/trunk@6093 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/management/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/core/management/__init__.py b/django/core/management/__init__.py index 01e39a7aa4..a4731652f5 100644 --- a/django/core/management/__init__.py +++ b/django/core/management/__init__.py @@ -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)