1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

magic-removal: Merged to [2338]

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2339 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty
2006-02-18 20:24:24 +00:00
parent 01732d4f72
commit 4cb8cca158
7 changed files with 81 additions and 15 deletions

View File

@@ -241,7 +241,7 @@ class TestRunner:
if __name__ == "__main__":
from optparse import OptionParser
usage = "%prog [options] [model model model ...]"
parser = OptionParser()
parser = OptionParser(usage=usage)
parser.add_option('-v', help='How verbose should the output be? Choices are 0, 1 and 2, where 2 is most verbose. Default is 0.',
type='choice', choices=['0', '1', '2'])
parser.add_option('--settings',