diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2007-09-11 04:27:06 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2007-09-11 04:27:06 +0000 |
| commit | 2554ea352e37b5d1da57392ee19a681b00c87154 (patch) | |
| tree | 1e71d796f05fc5f977a34ec39660128bf0b4d9ad | |
| parent | a77a02359d8edb1bd880b47cd483b593ab276a66 (diff) | |
Restored 'django-admin.py --help'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/core/management/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
