Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added usage to unit-test OptionParser

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2336 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e029c9f7f8765b895ef2893cdf7fabe6dc5e9806 1 parent d2522e3
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/runtests.py
View
2  tests/runtests.py
@@ -206,7 +206,7 @@ def run_tests(self):
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',
Please sign in to comment.
Something went wrong with that request. Please try again.