Fixed spacing bug in '--help' output of django-admin

git-svn-id: http://code.djangoproject.com/svn/django/trunk@606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-09-02 18:23:42 +00:00
parent d31699f227
commit fe66d3b83b
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ def get_usage():
available_actions.sort() available_actions.sort()
for a in available_actions: for a in available_actions:
func = ACTION_MAPPING[a] func = ACTION_MAPPING[a]
usage.append(" %s %s-- %s" % (a, func.args, getattr(func, 'help_doc', func.__doc__))) usage.append(" %s %s -- %s" % (a, func.args, getattr(func, 'help_doc', func.__doc__)))
return '\n'.join(usage) return '\n'.join(usage)
class DjangoOptionParser(OptionParser): class DjangoOptionParser(OptionParser):