mirror of
https://github.com/django/django.git
synced 2024-12-24 10:05:46 +00:00
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:
parent
d31699f227
commit
fe66d3b83b
@ -35,7 +35,7 @@ def get_usage():
|
||||
available_actions.sort()
|
||||
for a in available_actions:
|
||||
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)
|
||||
|
||||
class DjangoOptionParser(OptionParser):
|
||||
|
Loading…
Reference in New Issue
Block a user